Skip to content

Commit 6c9b729

Browse files
committed
Include SQLite compile_options in "debug sys"
1 parent 0b4eeed commit 6c9b729

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

coverage/sqldata.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -951,9 +951,13 @@ def sys_info(cls):
951951
Returns a list of (key, value) pairs.
952952
953953
"""
954+
with SqliteDb(":memory:", debug=NoDebugging()) as db:
955+
compile_options = [row[0] for row in db.execute("pragma compile_options")]
956+
954957
return [
955958
('sqlite3_version', sqlite3.version),
956959
('sqlite3_sqlite_version', sqlite3.sqlite_version),
960+
('sqlite3_compile_options', compile_options),
957961
]
958962

959963

0 commit comments

Comments
 (0)