diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2021-05-14 10:27:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-14 10:27:21 (GMT) |
commit | be7e467bcf5e419302d887904ef3e8fd310c68e7 (patch) | |
tree | 1ee315fcfeb727425b432eda1aeebe8c03d5ae4e | |
parent | fe175a87adb8bd4c65f58b156dc3e4792b525a8c (diff) | |
download | cpython-be7e467bcf5e419302d887904ef3e8fd310c68e7.zip cpython-be7e467bcf5e419302d887904ef3e8fd310c68e7.tar.gz cpython-be7e467bcf5e419302d887904ef3e8fd310c68e7.tar.bz2 |
sqlite3 test suite now works with SQLITE_DQS=0 (GH-26032)
-rw-r--r-- | Lib/sqlite3/test/hooks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sqlite3/test/hooks.py b/Lib/sqlite3/test/hooks.py index a219e89..8c60bdc 100644 --- a/Lib/sqlite3/test/hooks.py +++ b/Lib/sqlite3/test/hooks.py @@ -237,7 +237,7 @@ class TraceCallbackTests(unittest.TestCase): traced_statements.append(statement) con.set_trace_callback(trace) con.execute("create table foo(x)") - con.execute('insert into foo(x) values ("%s")' % unicode_value) + con.execute("insert into foo(x) values ('%s')" % unicode_value) con.commit() self.assertTrue(any(unicode_value in stmt for stmt in traced_statements), "Unicode data %s garbled in trace callback: %s" |