mirror of https://github.com/django/django.git
Lowered tolerance to fix failing distance test.
This commit is contained in:
parent
db78086b45
commit
c1b06c8137
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue