summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2025-11-03 19:40:03 +0100
committerGitHub <noreply@github.com>2025-11-03 19:40:03 +0100
commit7838add7e15da656e901d20153cd44fa551b627e (patch)
tree89511f0caf6427b0c7067512f51eecc838677691
parent1b50da7e941d015c2eb9e36bfd2913e37726ac1d (diff)
[4.2.x] Fixed RelatedGeoModelTest.test_related_union_aggregate() crash on Python < 3.10.
Regression in 321af4877b62be6849f44e00d1c7e75928e7d3a2.
-rw-r--r--tests/gis_tests/relatedapp/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gis_tests/relatedapp/tests.py b/tests/gis_tests/relatedapp/tests.py
index 929a036f00..74aa64c0a1 100644
--- a/tests/gis_tests/relatedapp/tests.py
+++ b/tests/gis_tests/relatedapp/tests.py
@@ -105,7 +105,7 @@ class RelatedGeoModelTest(TestCase):
(u3, ref_u1),
]
for union, ref in tests:
- for point, ref_point in zip(sorted(union), sorted(ref), strict=True):
+ for point, ref_point in zip(sorted(union), sorted(ref)):
self.assertIs(point.equals_exact(ref_point, tolerance=6), True)
def test05_select_related_fk_to_subclass(self):