summaryrefslogtreecommitdiff
path: root/Lib/test/test_audit.py
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2021-05-02 23:25:17 +0200
committerGitHub <noreply@github.com>2021-05-02 22:25:17 +0100
commitc96cc089f60d2bf7e003c27413c3239ee9de2990 (patch)
treed93d46ef410fdda18eab4d3a75cc55af541387e9 /Lib/test/test_audit.py
parent37e0c7850de902179b28f1378fbbc38a5ed3628c (diff)
downloadcpython-git-c96cc089f60d2bf7e003c27413c3239ee9de2990.tar.gz
bpo-43434: Move sqlite3.connect audit events to sqlite3.Connection.__init__ (GH-25818)
Diffstat (limited to 'Lib/test/test_audit.py')
-rw-r--r--Lib/test/test_audit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_audit.py b/Lib/test/test_audit.py
index 4ba62c4085..25ff34bb11 100644
--- a/Lib/test/test_audit.py
+++ b/Lib/test/test_audit.py
@@ -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 += [