1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed GeoQuerySetTest.test_unionagg_tolerance() test on Oracle 18c.

This commit is contained in:
Mariusz Felisiak
2020-03-05 08:55:34 +01:00
committed by GitHub
parent 828e3b1335
commit 5ca76baa72

View File

@@ -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,
)