We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3007ea commit 64a31c5Copy full SHA for 64a31c5
Lib/sqlite3/test/hooks.py
@@ -242,7 +242,7 @@ def trace(statement):
242
# Can't execute bound parameters as their values don't appear
243
# in traced statements before SQLite 3.6.21
244
# (cf. http://www.sqlite.org/draft/releaselog/3_6_21.html)
245
- con.execute('insert into foo(x) values ("%s")' % unicode_value)
+ con.execute("insert into foo(x) values ('%s')" % unicode_value)
246
con.commit()
247
self.assertTrue(any(unicode_value in stmt for stmt in traced_statements),
248
"Unicode data %s garbled in trace callback: %s"
0 commit comments