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:09 +0100 |
| commit | 8e30512e7a91d07a223ce21f9ba1c5090bccaca6 (patch) | |
| tree | f6f7b31c4d79367f1565dc75d581ce4144500674 | |
| parent | 91d97406da3d7dae6ad53e25c3eb68ca593455d7 (diff) | |
[3.0.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 be007041a5..5138537f7f 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, ) |
