mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
bpo-43434: Move sqlite3.connect audit events to sqlite3.Connection.__init__ (GH-25818)
This commit is contained in:
parent
37e0c7850d
commit
c96cc089f6
5 changed files with 17 additions and 13 deletions
|
@ -158,7 +158,7 @@ class AuditTest(unittest.TestCase):
|
|||
if support.verbose:
|
||||
print(*events, sep='\n')
|
||||
actual = [ev[0] for ev in events]
|
||||
expected = ["sqlite3.connect", "sqlite3.connect/handle"]
|
||||
expected = ["sqlite3.connect", "sqlite3.connect/handle"] * 2
|
||||
|
||||
if hasattr(sqlite3.Connection, "enable_load_extension"):
|
||||
expected += [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue