diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2025-11-03 19:40:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-03 19:40:03 +0100 |
| commit | 7838add7e15da656e901d20153cd44fa551b627e (patch) | |
| tree | 89511f0caf6427b0c7067512f51eecc838677691 | |
| parent | 1b50da7e941d015c2eb9e36bfd2913e37726ac1d (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.py | 2 |
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): |
