Skip to content

Commit f28bac4

Browse files
miss-islingtonErlend Egeberg Aasland
and
Erlend Egeberg Aasland
authored
bpo-44108: sqlite3 test suite now works with SQLITE_DQS=0 (GH-26032) (GH-26125)
(cherry picked from commit be7e467) Co-authored-by: Erlend Egeberg Aasland <[email protected]> Co-authored-by: Erlend Egeberg Aasland <[email protected]>
1 parent 4642697 commit f28bac4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/sqlite3/test/hooks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def trace(statement):
237237
traced_statements.append(statement)
238238
con.set_trace_callback(trace)
239239
con.execute("create table foo(x)")
240-
con.execute('insert into foo(x) values ("%s")' % unicode_value)
240+
con.execute("insert into foo(x) values ('%s')" % unicode_value)
241241
con.commit()
242242
self.assertTrue(any(unicode_value in stmt for stmt in traced_statements),
243243
"Unicode data %s garbled in trace callback: %s"

0 commit comments

Comments
 (0)