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 5bfa062 commit 43b2168Copy full SHA for 43b2168
1 file changed
Lib/sqlite3/test/hooks.py
@@ -216,7 +216,8 @@ def trace(statement):
216
con.execute("insert into foo(x) values (?)", (unicode_value,))
217
con.commit()
218
self.assertTrue(any(unicode_value in stmt for stmt in traced_statements),
219
- "Unicode data garbled in trace callback")
+ "Unicode data %s garbled in trace callback: %s"
220
+ % (ascii(unicode_value), ', '.join(map(ascii, traced_statements))))
221
222
223
0 commit comments