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:
@@ -655,7 +655,7 @@ class ThreadTests(TestCase):
|
||||
|
||||
class BackendLoadingTests(TestCase):
|
||||
def test_old_style_backends_raise_useful_exception(self):
|
||||
self.assertRaisesRegexp(ImproperlyConfigured,
|
||||
six.assertRaisesRegex(self, ImproperlyConfigured,
|
||||
"Try using django.db.backends.sqlite3 instead",
|
||||
load_backend, 'sqlite3')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user