mirror of
https://github.com/django/django.git
synced 2025-07-30 08:35:23 +00:00
Fixed #32303 -- Bumped minimum supported SQLite to 3.9.0.
This commit is contained in:
parent
e64c1d8055
commit
74fd233b14
6 changed files with 12 additions and 8 deletions
|
@ -30,9 +30,9 @@ class Tests(TestCase):
|
|||
longMessage = True
|
||||
|
||||
def test_check_sqlite_version(self):
|
||||
msg = 'SQLite 3.8.3 or later is required (found 3.8.2).'
|
||||
with mock.patch.object(dbapi2, 'sqlite_version_info', (3, 8, 2)), \
|
||||
mock.patch.object(dbapi2, 'sqlite_version', '3.8.2'), \
|
||||
msg = 'SQLite 3.9.0 or later is required (found 3.8.11.1).'
|
||||
with mock.patch.object(dbapi2, 'sqlite_version_info', (3, 8, 11, 1)), \
|
||||
mock.patch.object(dbapi2, 'sqlite_version', '3.8.11.1'), \
|
||||
self.assertRaisesMessage(ImproperlyConfigured, msg):
|
||||
check_sqlite_version()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue