mirror of https://github.com/python/cpython
bpo-16379: Fix SQLite version checks in test_module_constants() (GH-28809)
Automerge-Triggered-By: GH:pablogsal
This commit is contained in:
parent
768aaf6c43
commit
8deb7afbaa
|
@ -168,9 +168,9 @@ class ModuleTests(unittest.TestCase):
|
|||
"SQLITE_TRANSACTION",
|
||||
"SQLITE_UPDATE",
|
||||
]
|
||||
if sqlite.version_info >= (3, 7, 17):
|
||||
if sqlite.sqlite_version_info >= (3, 7, 17):
|
||||
consts += ["SQLITE_NOTICE", "SQLITE_WARNING"]
|
||||
if sqlite.version_info >= (3, 8, 3):
|
||||
if sqlite.sqlite_version_info >= (3, 8, 3):
|
||||
consts.append("SQLITE_RECURSIVE")
|
||||
consts += ["PARSE_DECLTYPES", "PARSE_COLNAMES"]
|
||||
for const in consts:
|
||||
|
|
Loading…
Reference in New Issue