mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed a non-deterministic test; refs #23099.
This commit is contained in:
		| @@ -329,7 +329,7 @@ class DistanceTest(TestCase): | ||||
|         area_sq_m = [5437908.90234375, 10183031.4389648, 11254471.0073242, 9881708.91772461] | ||||
|         # Tolerance has to be lower for Oracle | ||||
|         tol = 2 | ||||
|         for i, z in enumerate(SouthTexasZipcode.objects.area()): | ||||
|         for i, z in enumerate(SouthTexasZipcode.objects.order_by('name').area()): | ||||
|             self.assertAlmostEqual(area_sq_m[i], z.area.sq_m, tol) | ||||
|  | ||||
|     def test_length(self): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user