Skip to content

Commit 767c8b0

Browse files
Update Lib/test/test_dbm_sqlite3.py
Co-authored-by: Alex Waygood <[email protected]>
1 parent df23c87 commit 767c8b0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Lib/test/test_dbm_sqlite3.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
from test.support import cpython_only, import_helper, os_helper
88

99
dbm_sqlite3 = import_helper.import_module("dbm.sqlite3")
10+
# N.B. The test will fail if the sqlite3 import is above the import of dbm.sqlite3.
11+
# This is deliberate: if the import helper managed to import dbm.sqlite3,
12+
# we must inevitably be able to import sqlite3. Else, we have a problem.
1013
import sqlite3
1114
from dbm.sqlite3 import _normalize_uri
1215

0 commit comments

Comments
 (0)