Commit 9be56ec6 authored by Anssi Kääriäinen's avatar Anssi Kääriäinen
Browse files

[1.6.x] PEP8 cleanup

Backport of f8df5505 from master
parent 227a0f27
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -230,7 +230,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.