summaryrefslogtreecommitdiff
path: root/tests/generic_relations_regress/tests.py
diff options
context:
space:
mode:
authorAnssi Kääriäinen <akaariai@gmail.com>2014-07-16 12:48:49 +0300
committerAnssi Kääriäinen <akaariai@gmail.com>2014-07-16 12:48:49 +0300
commitf8df55050cf89a6d6073ecac6db4354e3f178d9b (patch)
treed6c836b3942b11a9de64c544ce7a39d28191966b /tests/generic_relations_regress/tests.py
parent6e2b82fdf65c63c4a32620b7577f492579ecd91e (diff)
downloaddjango-f8df55050cf89a6d6073ecac6db4354e3f178d9b.tar.gz
PEP8 cleanup
Diffstat (limited to 'tests/generic_relations_regress/tests.py')
-rw-r--r--tests/generic_relations_regress/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/generic_relations_regress/tests.py b/tests/generic_relations_regress/tests.py
index 144a67f106..93eac5292b 100644
--- a/tests/generic_relations_regress/tests.py
+++ b/tests/generic_relations_regress/tests.py
@@ -254,7 +254,7 @@ class GenericRelationTests(TestCase):
def test_ticket_22998(self):
related = Related.objects.create()
content = Content.objects.create(related_obj=related)
- node = Node.objects.create(content=content)
+ Node.objects.create(content=content)
# deleting the Related cascades to the Content cascades to the Node,
# where the pre_delete signal should fire and prevent deletion.