mirror of
https://github.com/django/django.git
synced 2025-11-27 13:55:26 +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
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ class CommonMiddlewareTest(TestCase):
|
||||||
try:
|
try:
|
||||||
CommonMiddleware().process_request(request)
|
CommonMiddleware().process_request(request)
|
||||||
except RuntimeError, e:
|
except RuntimeError, e:
|
||||||
self.assertTrue('end in a slash' in str(e))
|
self.failUnless('end in a slash' in str(e))
|
||||||
settings.DEBUG = False
|
settings.DEBUG = False
|
||||||
|
|
||||||
def test_append_slash_disabled(self):
|
def test_append_slash_disabled(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue