Skip to content

Commit 8deb7af

Browse files
author
Erlend Egeberg Aasland
authored
bpo-16379: Fix SQLite version checks in test_module_constants() (GH-28809)
Automerge-Triggered-By: GH:pablogsal
1 parent 768aaf6 commit 8deb7af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/sqlite3/test/test_dbapi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,9 @@ def test_module_constants(self):
168168
"SQLITE_TRANSACTION",
169169
"SQLITE_UPDATE",
170170
]
171-
if sqlite.version_info >= (3, 7, 17):
171+
if sqlite.sqlite_version_info >= (3, 7, 17):
172172
consts += ["SQLITE_NOTICE", "SQLITE_WARNING"]
173-
if sqlite.version_info >= (3, 8, 3):
173+
if sqlite.sqlite_version_info >= (3, 8, 3):
174174
consts.append("SQLITE_RECURSIVE")
175175
consts += ["PARSE_DECLTYPES", "PARSE_COLNAMES"]
176176
for const in consts:

0 commit comments

Comments
 (0)