mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #26920 -- Made GEOSGeometry equality check consider the srid
This commit is contained in:
committed by
Claude Paroz
parent
10d49b96e6
commit
50613d957a
@@ -36,7 +36,7 @@ class RelatedGeoModelTest(TestCase):
|
||||
nm, st, lon, lat = ref
|
||||
self.assertEqual(nm, c.name)
|
||||
self.assertEqual(st, c.state)
|
||||
self.assertEqual(Point(lon, lat), c.location.point)
|
||||
self.assertEqual(Point(lon, lat, srid=c.location.point.srid), c.location.point)
|
||||
|
||||
@skipUnlessDBFeature("has_transform_method")
|
||||
def test03_transform_related(self):
|
||||
|
||||
Reference in New Issue
Block a user