diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2021-01-06 01:02:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-06 02:02:43 +0200 |
commit | cf0b23908cc902ac38cd83dd7ca5afdf89e1543b (patch) | |
tree | 213330fcd0db5954b3937e913a168fc7f68ebf4b /Lib/sqlite3 | |
parent | bpo-40956: Convert _sqlite3.Cursor to Argument Clinic (GH-24007) (diff) | |
download | cpython-cf0b23908cc902ac38cd83dd7ca5afdf89e1543b.tar.gz cpython-cf0b23908cc902ac38cd83dd7ca5afdf89e1543b.tar.bz2 cpython-cf0b23908cc902ac38cd83dd7ca5afdf89e1543b.zip |
bpo-40810: Require SQLite 3.7.15 (GH-24106)
Diffstat (limited to 'Lib/sqlite3')
-rw-r--r-- | Lib/sqlite3/test/dbapi.py | 4 | ||||
-rw-r--r-- | Lib/sqlite3/test/hooks.py | 8 |
2 files changed, 0 insertions, 12 deletions
diff --git a/Lib/sqlite3/test/dbapi.py b/Lib/sqlite3/test/dbapi.py index 7867bf361e5..2b85ef99f02 100644 --- a/Lib/sqlite3/test/dbapi.py +++ b/Lib/sqlite3/test/dbapi.py @@ -172,10 +172,6 @@ class ConnectionTests(unittest.TestCase): cx.execute('create table test(id integer)') def CheckOpenUri(self): - if sqlite.sqlite_version_info < (3, 7, 7): - with self.assertRaises(sqlite.NotSupportedError): - sqlite.connect(':memory:', uri=True) - return self.addCleanup(unlink, TESTFN) with sqlite.connect(TESTFN) as cx: cx.execute('create table test(id integer)') diff --git a/Lib/sqlite3/test/hooks.py b/Lib/sqlite3/test/hooks.py index 6c1aaa2d601..2e620ecdf86 100644 --- a/Lib/sqlite3/test/hooks.py +++ b/Lib/sqlite3/test/hooks.py @@ -260,14 +260,6 @@ class TraceCallbackTests(unittest.TestCase): cur.execute(queries[0]) con2.execute("create table bar(x)") cur.execute(queries[1]) - - # Extract from SQLite 3.7.15 changelog: - # Avoid invoking the sqlite3_trace() callback multiple times when a - # statement is automatically reprepared due to SQLITE_SCHEMA errors. - # - # See bpo-40810 - if sqlite.sqlite_version_info < (3, 7, 15): - queries.append(queries[-1]) self.assertEqual(traced_statements, queries) |