mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Removed ad-hoc support for usage of short names of built-in DB backends.
This non-standard naming was deprecated in Django 1.2.
This commit is contained in:
@@ -666,13 +666,6 @@ class ThreadTests(TestCase):
|
||||
self.assertEqual(len(exceptions), 0)
|
||||
|
||||
|
||||
class BackendLoadingTests(TestCase):
|
||||
def test_old_style_backends_raise_useful_exception(self):
|
||||
six.assertRaisesRegex(self, ImproperlyConfigured,
|
||||
"Try using django.db.backends.sqlite3 instead",
|
||||
load_backend, 'sqlite3')
|
||||
|
||||
|
||||
class MySQLPKZeroTests(TestCase):
|
||||
"""
|
||||
Zero as id for AutoField should raise exception in MySQL, because MySQL
|
||||
|
||||
Reference in New Issue
Block a user