[2.2.x] Fixed GeoQuerySetTest.test_unionagg_tolerance() test on Oracle 18c.
Backport of 5ca76baa729bbbe62f5c4a0fc4f89747dc999029 from master
This commit is contained in:
parent
7088073ada
commit
3acffe1420
@ -581,10 +581,11 @@ class GeoQuerySetTest(TestCase):
|
|||||||
srid=4326,
|
srid=4326,
|
||||||
)
|
)
|
||||||
self.assertIs(
|
self.assertIs(
|
||||||
forney_houston.equals(
|
forney_houston.equals_exact(
|
||||||
City.objects.filter(point__within=tx).aggregate(
|
City.objects.filter(point__within=tx).aggregate(
|
||||||
Union('point', tolerance=32000),
|
Union('point', tolerance=32000),
|
||||||
)['point__union'],
|
)['point__union'],
|
||||||
|
tolerance=10e-6,
|
||||||
),
|
),
|
||||||
True,
|
True,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user