Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed Python 2.3 problem I introduced all the way back in [6852]. :-(

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 70fe1ef2628329ad54953fe3bc34589e07fc2e2d 1 parent d1793f1
@malcolmt malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/regressiontests/middleware/tests.py
View
2  tests/regressiontests/middleware/tests.py
@@ -66,7 +66,7 @@ def test_append_slash_no_redirect_on_POST_in_DEBUG(self):
try:
CommonMiddleware().process_request(request)
except RuntimeError, e:
- self.assertTrue('end in a slash' in str(e))
+ self.failUnless('end in a slash' in str(e))
settings.DEBUG = False
def test_append_slash_disabled(self):
Please sign in to comment.
Something went wrong with that request. Please try again.