mirror of
https://github.com/django/django.git
synced 2025-03-25 00:30:45 +00:00
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:
parent
d1793f1774
commit
70fe1ef262
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user