diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-03-05 08:55:34 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-03-05 08:56:56 +0100 |
| commit | 3acffe1420fd7fcf3e8cc6c5dd198af6b5c79a33 (patch) | |
| tree | 6887abc92ed6190e5be788b6112ba8c16e46cdad | |
| parent | 7088073ada053f1ad377c04a4cd29b85af8d2847 (diff) | |
[2.2.x] Fixed GeoQuerySetTest.test_unionagg_tolerance() test on Oracle 18c.
Backport of 5ca76baa729bbbe62f5c4a0fc4f89747dc999029 from master
| -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 29d87c9005..febad3eeee 100644 --- a/tests/gis_tests/geoapp/tests.py +++ b/tests/gis_tests/geoapp/tests.py @@ -581,10 +581,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, ) |
