summaryrefslogtreecommitdiff
path: root/tests/serializers/test_data.py
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2023-02-01 07:13:39 +0000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-02-01 11:04:38 +0100
commit097e3a70c1481ee7b042b2edd91b2be86fb7b5b6 (patch)
tree7042be9ee3aabda10ecfa8923a113388b81f34a8 /tests/serializers/test_data.py
parent8c660fb59239828583f17cdede3b64f208b8752c (diff)
Refs #33476 -- Applied Black's 2023 stable style.
Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0
Diffstat (limited to 'tests/serializers/test_data.py')
-rw-r--r--tests/serializers/test_data.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/serializers/test_data.py b/tests/serializers/test_data.py
index 330e5016e4..e1cb776d83 100644
--- a/tests/serializers/test_data.py
+++ b/tests/serializers/test_data.py
@@ -449,7 +449,7 @@ def serializerTest(self, format):
# Create all the objects defined in the test data
objects = []
instance_count = {}
- for (func, pk, klass, datum) in test_data:
+ for func, pk, klass, datum in test_data:
with connection.constraint_checks_disabled():
objects.extend(func[0](pk, klass, datum))
@@ -468,7 +468,7 @@ def serializerTest(self, format):
# Assert that the deserialized data is the same
# as the original source
- for (func, pk, klass, datum) in test_data:
+ for func, pk, klass, datum in test_data:
func[1](self, pk, klass, datum)
# Assert that the number of objects deserialized is the