Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed a brittle test in the `LayerMapping` tests.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16741 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 6273db307e2acc5e4ce91a1cf9213a195b64fd78 1 parent fb590bf
Justin Bronn authored
4  django/contrib/gis/tests/layermap/tests.py
@@ -79,8 +79,8 @@ def test02_simple_layermap(self):
79 79
 
80 80
             # Comparing the geometries.
81 81
             pnt1, pnt2 = feat.geom, city.point
82  
-            self.assertAlmostEqual(pnt1.x, pnt2.x, 6)
83  
-            self.assertAlmostEqual(pnt1.y, pnt2.y, 6)
  82
+            self.assertAlmostEqual(pnt1.x, pnt2.x, 5)
  83
+            self.assertAlmostEqual(pnt1.y, pnt2.y, 5)
84 84
 
85 85
     def test03_layermap_strict(self):
86 86
         "Testing the `strict` keyword, and import of a LineString shapefile."

0 notes on commit 6273db3

Please sign in to comment.
Something went wrong with that request. Please try again.