summaryrefslogtreecommitdiff
path: root/tests/m2m_and_m2o
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-10-23 06:09:29 -0400
committerTim Graham <timograham@gmail.com>2013-10-23 06:09:29 -0400
commitae48d77ef8e14dae76fddcd5a677b897c7c7c4ae (patch)
treefc938daf79b1061aeb70c9d7dd33108d2eb63544 /tests/m2m_and_m2o
parent51d2e1fb233b5507bf14300787939717c4d93834 (diff)
downloaddjango-ae48d77ef8e14dae76fddcd5a677b897c7c7c4ae.tar.gz
Fixed E225 pep8 warnings.
Diffstat (limited to 'tests/m2m_and_m2o')
-rw-r--r--tests/m2m_and_m2o/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/m2m_and_m2o/tests.py b/tests/m2m_and_m2o/tests.py
index 646212bf4f..ee5d77919f 100644
--- a/tests/m2m_and_m2o/tests.py
+++ b/tests/m2m_and_m2o/tests.py
@@ -80,8 +80,8 @@ class RelatedObjectUnicodeTests(TestCase):
Regression test for #6045: references to other models can be unicode
strings, providing they are directly convertible to ASCII.
"""
- m1=UnicodeReferenceModel.objects.create()
- m2=UnicodeReferenceModel.objects.create()
+ m1 = UnicodeReferenceModel.objects.create()
+ m2 = UnicodeReferenceModel.objects.create()
m2.others.add(m1) # used to cause an error (see ticket #6045)
m2.save()
list(m2.others.all()) # Force retrieval.