diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-03-05 08:55:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-05 08:55:34 +0100 |
| commit | 5ca76baa729bbbe62f5c4a0fc4f89747dc999029 (patch) | |
| tree | bc38cd516269dc150f9cc1614432a76ba16f07bf | |
| parent | 828e3b1335e2614d338a630fd5b5f88d38a6b5d2 (diff) | |
Fixed GeoQuerySetTest.test_unionagg_tolerance() test on Oracle 18c.
| -rw-r--r-- | tests/gis_tests/geoapp/tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/gis_tests/geoapp/tests.py b/tests/gis_tests/geoapp/tests.py index b72b9b8949..01e3889300 100644 --- a/tests/gis_tests/geoapp/tests.py +++ b/tests/gis_tests/geoapp/tests.py @@ -611,10 +611,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, ) |
