summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/contrib/gis/geos/tests/test_geos.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/gis/geos/tests/test_geos.py b/django/contrib/gis/geos/tests/test_geos.py
index 421e8c5f5e..c610093329 100644
--- a/django/contrib/gis/geos/tests/test_geos.py
+++ b/django/contrib/gis/geos/tests/test_geos.py
@@ -934,7 +934,7 @@ class GEOSTest(unittest.TestCase, TestDataMixin):
self.assert_(not g.valid)
self.assert_(isinstance(g.valid_reason, basestring))
- self.assertEqual(g.valid_reason, "Too few points in geometry component[0 0]")
+ self.assert_(g.valid_reason.startswith("Too few points in geometry component"))
print "\nEND - expecting GEOS_NOTICE; safe to ignore.\n"