0
0
mirror of https://github.com/django/django.git synced 2024-11-24 02:47:35 +01:00

Linted test_functions.py file

This commit is contained in:
enprava 2024-11-09 12:02:42 +01:00
parent 3fecee9f7e
commit 9b11e9f683

View File

@ -624,7 +624,9 @@ class GISFunctionsTests(FuncTestMixin, TestCase):
qs_origin_param = Country.objects.annotate(
rotated=functions.Rotate("mpoly", angle=angle, origin=Point(0, 0))
)
for c_origin, c_xy_params, c_origin_point_param in zip(qs_origin, qs_xy_params, qs_origin_param):
for c_origin, c_xy_params, c_origin_point_param in zip(
qs_origin, qs_xy_params, qs_origin_param
):
for p1, p2 in zip(c_origin.mpoly, c_origin.rotated):
for r1, r2 in zip(p1, p2):
for c1, c2 in zip(r1.coords, r2.coords):