mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[py3k] Silence many warnings while running the tests.
This commit is contained in:
@@ -73,7 +73,7 @@ class GetStorageClassTests(SimpleTestCase):
|
||||
get_storage_class raises an error if the requested module don't exist.
|
||||
"""
|
||||
# Error message may or may not be the fully qualified path.
|
||||
self.assertRaisesRegexp(
|
||||
six.assertRaisesRegex(self,
|
||||
ImproperlyConfigured,
|
||||
('Error importing storage module django.core.files.non_existing_'
|
||||
'storage: "No module named .*non_existing_storage"'),
|
||||
|
||||
Reference in New Issue
Block a user