diff --git a/tests/generic_relations_regress/tests.py b/tests/generic_relations_regress/tests.py index 144a67f106c..93eac5292bc 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.