summaryrefslogtreecommitdiff
path: root/tests/backends
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2024-04-28 18:22:21 +0200
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-04-29 11:07:54 +0200
commit85c154da2f07485a1cdc4d886eee4c1a1ef56137 (patch)
tree7a48c231dc0656ec35e41d52909e8a267a80af99 /tests/backends
parent8c257cecffc314179a5375ab8a16ca0ff3b6fb16 (diff)
Fixed #35412 -- Dropped support for SQLite < 3.31.
Diffstat (limited to 'tests/backends')
-rw-r--r--tests/backends/sqlite/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/backends/sqlite/tests.py b/tests/backends/sqlite/tests.py
index 109d210e54..fafc0b182f 100644
--- a/tests/backends/sqlite/tests.py
+++ b/tests/backends/sqlite/tests.py
@@ -109,9 +109,9 @@ class Tests(TestCase):
connections["default"].close()
self.assertTrue(os.path.isfile(os.path.join(tmp, "test.db")))
- @mock.patch.object(connection, "get_database_version", return_value=(3, 26))
+ @mock.patch.object(connection, "get_database_version", return_value=(3, 30))
def test_check_database_version_supported(self, mocked_get_database_version):
- msg = "SQLite 3.27 or later is required (found 3.26)."
+ msg = "SQLite 3.31 or later is required (found 3.30)."
with self.assertRaisesMessage(NotSupportedError, msg):
connection.check_database_version_supported()
self.assertTrue(mocked_get_database_version.called)