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
This commit is contained in:
Malcolm Tredinnick 2008-01-06 07:23:21 +00:00
parent d1793f1774
commit 70fe1ef262
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class CommonMiddlewareTest(TestCase):
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):