mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
[3.9] sqlite3 test suite now works with SQLITE_DQS=0 (GH-26032). (GH-26128)
(cherry picked from commit be7e467bcf
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
This commit is contained in:
parent
f3007ea9ad
commit
64a31c5c2f
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ class TraceCallbackTests(unittest.TestCase):
|
|||
# Can't execute bound parameters as their values don't appear
|
||||
# in traced statements before SQLite 3.6.21
|
||||
# (cf. http://www.sqlite.org/draft/releaselog/3_6_21.html)
|
||||
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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue