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:
@@ -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):
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user