summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bronn <jbronn@gmail.com>2011-09-09 19:51:06 +0000
committerJustin Bronn <jbronn@gmail.com>2011-09-09 19:51:06 +0000
commit6273db307e2acc5e4ce91a1cf9213a195b64fd78 (patch)
treea669cdce55444dbe1cd145261f947e3861576e59
parentfb590bfa9bfdeb622677187552cae707f379c7b1 (diff)
Fixed a brittle test in the `LayerMapping` tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16741 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/gis/tests/layermap/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/gis/tests/layermap/tests.py b/django/contrib/gis/tests/layermap/tests.py
index 0480e43dc8..8b65577d86 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."