Permalink
Browse files

[1.5.x] Fixed a typo in the test suite that was causing some spurious…

… failures with pypy.

Backport of 6afc85a
  • Loading branch information...
1 parent 20ac331 commit 5ba76825cfe3fbc0967f38ac57fee4f09d6f2ead @jphalip jphalip committed Feb 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/modeltests/delete/tests.py
View
2 tests/modeltests/delete/tests.py
@@ -227,7 +227,7 @@ def log_pre_delete(sender, **kwargs):
)
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):

0 comments on commit 5ba7682

Please sign in to comment.