summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/contrib/gis/tests/geoapp/tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/django/contrib/gis/tests/geoapp/tests.py b/django/contrib/gis/tests/geoapp/tests.py
index b9e7a58b70..1e1b77080a 100644
--- a/django/contrib/gis/tests/geoapp/tests.py
+++ b/django/contrib/gis/tests/geoapp/tests.py
@@ -629,7 +629,9 @@ class GeoQuerySetTest(TestCase):
)
# We check for equality with a tolerance of 10e-5 which is a lower bound
# of the precisions of ref_line coordinates
- self.assertTrue(ref_line.equals_exact(City.objects.make_line(), tolerance=10e-5))
+ line = City.objects.make_line()
+ self.assertTrue(ref_line.equals_exact(line, tolerance=10e-5),
+ "%s != %s" % (ref_line, line))
@skipUnlessDBFeature("has_num_geom_method")
def test_num_geom(self):