mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
[py3k] Silence many warnings while running the tests.
This commit is contained in:
@@ -617,7 +617,7 @@ class TestServeDisabled(TestServeStatic):
|
||||
settings.DEBUG = False
|
||||
|
||||
def test_disabled_serving(self):
|
||||
self.assertRaisesRegexp(ImproperlyConfigured, 'The staticfiles view '
|
||||
six.assertRaisesRegex(self, ImproperlyConfigured, 'The staticfiles view '
|
||||
'can only be used in debug mode ', self._response, 'test.txt')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user