1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Removed unnecessary trailing commas in tests.

This commit is contained in:
konsti
2023-08-22 12:42:57 +02:00
committed by GitHub
parent f1c0a3baf7
commit 48a1929ca0
11 changed files with 18 additions and 18 deletions

View File

@@ -17,7 +17,7 @@ class GeoJSONSerializerTests(TestCase):
all_formats = set(serializers.get_serializer_formats())
public_formats = set(serializers.get_public_serializer_formats())
self.assertIn("geojson", all_formats),
self.assertIn("geojson", all_formats)
self.assertIn("geojson", public_formats)
def test_serialization_base(self):

View File

@@ -660,8 +660,8 @@ class GeoQuerySetTest(TestCase):
# flaky.
for point, ref_city in zip(sorted(line), sorted(ref_points)):
point_x, point_y = point
self.assertAlmostEqual(point_x, ref_city.x, 5),
self.assertAlmostEqual(point_y, ref_city.y, 5),
self.assertAlmostEqual(point_x, ref_city.x, 5)
self.assertAlmostEqual(point_y, ref_city.y, 5)
@skipUnlessDBFeature("supports_union_aggr")
def test_unionagg(self):