diff options
| author | Karen Tracey <kmtracey@gmail.com> | 2010-02-26 05:14:36 +0000 |
|---|---|---|
| committer | Karen Tracey <kmtracey@gmail.com> | 2010-02-26 05:14:36 +0000 |
| commit | 6ca3154bcd14f377ba38f1199f6053ec94e59651 (patch) | |
| tree | 7e5a1c384fc71b6afbc13c4ddaa15a63c7b5e02a /tests/regressiontests/generic_inline_admin | |
| parent | 6c031fbef7635732ebecf502520e31d519ab17b3 (diff) | |
[1.1.X] Fixed a bunch of Python 2.3 incompatibilities that had crept into the 1.1.X branch.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/generic_inline_admin')
| -rw-r--r-- | tests/regressiontests/generic_inline_admin/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/generic_inline_admin/tests.py b/tests/regressiontests/generic_inline_admin/tests.py index 9b3e12d137..2df4ca0c1d 100644 --- a/tests/regressiontests/generic_inline_admin/tests.py +++ b/tests/regressiontests/generic_inline_admin/tests.py @@ -185,4 +185,4 @@ class NoInlineDeletionTest(TestCase): inline = MediaPermanentInline(EpisodePermanent, fake_site) fake_request = object() formset = inline.get_formset(fake_request) - self.assertFalse(formset.can_delete) + self.failIf(formset.can_delete) |
