1
0
mirror of https://github.com/django/django.git synced 2025-03-10 01:12:53 +00:00

Lowered tolerance to fix failing distance test.

This commit is contained in:
Justin Bronn 2012-10-05 14:55:15 -07:00
parent db78086b45
commit c1b06c8137

View File

@ -324,7 +324,7 @@ class DistanceTest(TestCase):
else:
qs = Interstate.objects.length()
if oracle: tol = 2
else: tol = 5
else: tol = 3
self.assertAlmostEqual(len_m1, qs[0].length.m, tol)
# Now doing length on a projected coordinate system.