From c669cf279ae7b3e02a61db4fb077030a4db80e4f Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 5 Mar 2020 08:55:34 +0100 Subject: [PATCH] [1.11.x] Fixed GeoQuerySetTest.test_unionagg_tolerance() test on Oracle 18c. Backport of 5ca76baa729bbbe62f5c4a0fc4f89747dc999029 from master --- tests/gis_tests/geoapp/tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/gis_tests/geoapp/tests.py b/tests/gis_tests/geoapp/tests.py index 7eff87693d..39ab1790bc 100644 --- a/tests/gis_tests/geoapp/tests.py +++ b/tests/gis_tests/geoapp/tests.py @@ -899,10 +899,11 @@ class GeoQuerySetTest(TestCase): srid=4326, ) self.assertIs( - forney_houston.equals( + forney_houston.equals_exact( City.objects.filter(point__within=tx).aggregate( Union('point', tolerance=32000), )['point__union'], + tolerance=10e-6, ), True, )