summaryrefslogtreecommitdiff
path: root/tests/model_forms
diff options
context:
space:
mode:
Diffstat (limited to 'tests/model_forms')
-rw-r--r--tests/model_forms/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_forms/tests.py b/tests/model_forms/tests.py
index 6e23a0b676..8acc88b33f 100644
--- a/tests/model_forms/tests.py
+++ b/tests/model_forms/tests.py
@@ -696,7 +696,7 @@ class UniqueTest(TestCase):
def test_explicitpk_unspecified(self):
"""Test for primary_key being in the form and failing validation."""
- form = ExplicitPKForm({'key': '', 'desc': '' })
+ form = ExplicitPKForm({'key': '', 'desc': ''})
self.assertFalse(form.is_valid())
def test_explicitpk_unique(self):