From 5ba76825cfe3fbc0967f38ac57fee4f09d6f2ead Mon Sep 17 00:00:00 2001 From: Julien Phalip Date: Wed, 6 Feb 2013 22:10:13 -0800 Subject: [PATCH] [1.5.x] Fixed a typo in the test suite that was causing some spurious failures with pypy. Backport of 6afc85af47f7d9f44 --- tests/modeltests/delete/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/modeltests/delete/tests.py b/tests/modeltests/delete/tests.py index 20b815c33d..3fc99c77fd 100644 --- a/tests/modeltests/delete/tests.py +++ b/tests/modeltests/delete/tests.py @@ -227,7 +227,7 @@ class DeletionTests(TestCase): ) models.signals.post_delete.disconnect(log_post_delete) - models.signals.post_delete.disconnect(log_pre_delete) + models.signals.pre_delete.disconnect(log_pre_delete) @skipUnlessDBFeature("can_defer_constraint_checks") def test_can_defer_constraint_checks(self):