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

Fixed #34759 -- Confirmed support for SpatiaLite 5.1.

Thanks The Epic Dev for helping with tests.
This commit is contained in:
pieterck
2023-10-03 15:47:00 +07:00
committed by Mariusz Felisiak
parent f9cdecfb0d
commit 0989cf13e7
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))