mirror of https://github.com/django/django.git
Fixed a brittle test in the `LayerMapping` tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16741 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
fb590bfa9b
commit
6273db307e
|
@ -79,8 +79,8 @@ class LayerMapTest(TestCase):
|
||||||
|
|
||||||
# Comparing the geometries.
|
# Comparing the geometries.
|
||||||
pnt1, pnt2 = feat.geom, city.point
|
pnt1, pnt2 = feat.geom, city.point
|
||||||
self.assertAlmostEqual(pnt1.x, pnt2.x, 6)
|
self.assertAlmostEqual(pnt1.x, pnt2.x, 5)
|
||||||
self.assertAlmostEqual(pnt1.y, pnt2.y, 6)
|
self.assertAlmostEqual(pnt1.y, pnt2.y, 5)
|
||||||
|
|
||||||
def test03_layermap_strict(self):
|
def test03_layermap_strict(self):
|
||||||
"Testing the `strict` keyword, and import of a LineString shapefile."
|
"Testing the `strict` keyword, and import of a LineString shapefile."
|
||||||
|
|
Loading…
Reference in New Issue