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:
|
else:
|
||||||
qs = Interstate.objects.length()
|
qs = Interstate.objects.length()
|
||||||
if oracle: tol = 2
|
if oracle: tol = 2
|
||||||
else: tol = 5
|
else: tol = 3
|
||||||
self.assertAlmostEqual(len_m1, qs[0].length.m, tol)
|
self.assertAlmostEqual(len_m1, qs[0].length.m, tol)
|
||||||
|
|
||||||
# Now doing length on a projected coordinate system.
|
# Now doing length on a projected coordinate system.
|
||||||
|
|
Loading…
Reference in New Issue