From 6273db307e2acc5e4ce91a1cf9213a195b64fd78 Mon Sep 17 00:00:00 2001 From: Justin Bronn Date: Fri, 9 Sep 2011 19:51:06 +0000 Subject: [PATCH] Fixed a brittle test in the `LayerMapping` tests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16741 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/gis/tests/layermap/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/contrib/gis/tests/layermap/tests.py b/django/contrib/gis/tests/layermap/tests.py index 0480e43dc8a..8b65577d867 100644 --- a/django/contrib/gis/tests/layermap/tests.py +++ b/django/contrib/gis/tests/layermap/tests.py @@ -79,8 +79,8 @@ class LayerMapTest(TestCase): # Comparing the geometries. pnt1, pnt2 = feat.geom, city.point - self.assertAlmostEqual(pnt1.x, pnt2.x, 6) - self.assertAlmostEqual(pnt1.y, pnt2.y, 6) + self.assertAlmostEqual(pnt1.x, pnt2.x, 5) + self.assertAlmostEqual(pnt1.y, pnt2.y, 5) def test03_layermap_strict(self): "Testing the `strict` keyword, and import of a LineString shapefile."