diff options
author | Erlend E. Aasland <erlend.aasland@protonmail.com> | 2023-06-18 22:29:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-18 22:29:08 (GMT) |
commit | 6849acb3feacda63ee43f1dc9be28fac1075ca7d (patch) | |
tree | 6d188e17bbf6563945a32860ae11e5c47a55941b /Lib/test/test_sqlite3/test_hooks.py | |
parent | bc07c8f096791d678ca5c1e3486cb9648f7a027b (diff) | |
download | cpython-6849acb3feacda63ee43f1dc9be28fac1075ca7d.zip cpython-6849acb3feacda63ee43f1dc9be28fac1075ca7d.tar.gz cpython-6849acb3feacda63ee43f1dc9be28fac1075ca7d.tar.bz2 |
gh-105875: Require SQLite 3.15.2 or newer (#105876)
SQLite 3.15.2 was released 2016-11-28.
Diffstat (limited to 'Lib/test/test_sqlite3/test_hooks.py')
-rw-r--r-- | Lib/test/test_sqlite3/test_hooks.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_sqlite3/test_hooks.py b/Lib/test/test_sqlite3/test_hooks.py index 21042b9..89230c0 100644 --- a/Lib/test/test_sqlite3/test_hooks.py +++ b/Lib/test/test_sqlite3/test_hooks.py @@ -323,7 +323,7 @@ class TraceCallbackTests(unittest.TestCase): ) def test_trace_too_much_expanded_sql(self): # If the expanded string is too large, we'll fall back to the - # unexpanded SQL statement (for SQLite 3.14.0 and newer). + # unexpanded SQL statement. # The resulting string length is limited by the runtime limit # SQLITE_LIMIT_LENGTH. template = "select 1 as a where a=" @@ -334,8 +334,6 @@ class TraceCallbackTests(unittest.TestCase): unexpanded_query = template + "?" expected = [unexpanded_query] - if sqlite.sqlite_version_info < (3, 14, 0): - expected = [] with self.check_stmt_trace(cx, expected): cx.execute(unexpanded_query, (bad_param,)) |