From 7838add7e15da656e901d20153cd44fa551b627e Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Mon, 3 Nov 2025 19:40:03 +0100 Subject: [4.2.x] Fixed RelatedGeoModelTest.test_related_union_aggregate() crash on Python < 3.10. Regression in 321af4877b62be6849f44e00d1c7e75928e7d3a2. --- tests/gis_tests/relatedapp/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.3