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

[5.0.x] Fixed #34759 -- Confirmed support for SpatiaLite 5.1.

Thanks The Epic Dev for helping with tests.

Backport of 0989cf13e7 from main.
This commit is contained in:
pieterck
2023-10-03 15:47:00 +07:00
committed by Mariusz Felisiak
parent 6e7c8cc42e
commit 72a2044b40
2 changed files with 3 additions and 2 deletions

View File

@@ -141,7 +141,7 @@ class GISFunctionsTests(FuncTestMixin, TestCase):
)
else:
gml_regex = re.compile(
r'^<gml:Point srsName="EPSG:4326"><gml:coordinates>'
r'^<gml:Point srsName="(urn:ogc:def:crs:)?EPSG:4326"><gml:coordinates>'
r"-104\.60925\d+,38\.255001</gml:coordinates></gml:Point>"
)
self.assertTrue(gml_regex.match(ptown.gml))