Skip to content

Commit

Permalink
bpo-44108: sqlite3 test suite now works with SQLITE_DQS=0 (GH-26032) (G…
Browse files Browse the repository at this point in the history
…H-26125)

(cherry picked from commit be7e467)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
  • Loading branch information
miss-islington and Erlend Egeberg Aasland committed May 14, 2021
1 parent 4642697 commit f28bac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/sqlite3/test/hooks.py
Expand Up @@ -237,7 +237,7 @@ def trace(statement):
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"
Expand Down

0 comments on commit f28bac4

Please sign in to comment.