From c1b06c8137d82ab34204f62aa4324335b1fd9a23 Mon Sep 17 00:00:00 2001 From: Justin Bronn Date: Fri, 5 Oct 2012 14:55:15 -0700 Subject: [PATCH] Lowered tolerance to fix failing distance test. --- django/contrib/gis/tests/distapp/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/gis/tests/distapp/tests.py b/django/contrib/gis/tests/distapp/tests.py index bf075add6c..5574b42738 100644 --- a/django/contrib/gis/tests/distapp/tests.py +++ b/django/contrib/gis/tests/distapp/tests.py @@ -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.