Skip to content

Commit

Permalink
[3.0.x] Fixed GeoQuerySetTest.test_unionagg_tolerance() test on Oracl…
Browse files Browse the repository at this point in the history
…e 18c.

Backport of 5ca76ba from master
  • Loading branch information
felixxm committed Mar 5, 2020
1 parent 91d9740 commit 8e30512
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/gis_tests/geoapp/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,10 +581,11 @@ def test_unionagg_tolerance(self):
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,
)
Expand Down

0 comments on commit 8e30512

Please sign in to comment.