summaryrefslogtreecommitdiff
path: root/tests/model_forms
diff options
context:
space:
mode:
Diffstat (limited to 'tests/model_forms')
-rw-r--r--tests/model_forms/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/model_forms/tests.py b/tests/model_forms/tests.py
index 4bb7c47eb2..c7acf948a7 100644
--- a/tests/model_forms/tests.py
+++ b/tests/model_forms/tests.py
@@ -955,10 +955,10 @@ class ModelToDictTests(TestCase):
with self.assertNumQueries(0):
d = model_to_dict(art)
- #Ensure all many-to-many categories appear in model_to_dict
+ # Ensure all many-to-many categories appear in model_to_dict
for c in categories:
self.assertIn(c.pk, d['categories'])
- #Ensure many-to-many relation appears as a list
+ # Ensure many-to-many relation appears as a list
self.assertIsInstance(d['categories'], list)