We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5deb165 commit e8973c5Copy full SHA for e8973c5
coverage/sqldata.py
@@ -17,6 +17,7 @@
17
import socket
18
import sqlite3
19
import sys
20
+import textwrap
21
import threading
22
import zlib
23
@@ -996,9 +997,7 @@ def sys_info(cls):
996
997
with SqliteDb(":memory:", debug=NoDebugging()) as db:
998
temp_store = [row[0] for row in db.execute("pragma temp_store")]
999
copts = [row[0] for row in db.execute("pragma compile_options")]
- # Yes, this is overkill. I don't like the long list of options
1000
- # at the end of "debug sys", but I don't want to omit information.
1001
- copts = ["; ".join(copts[i:i + 3]) for i in range(0, len(copts), 3)]
+ copts = textwrap.wrap(", ".join(copts), width=75)
1002
1003
return [
1004
("sqlite3_version", sqlite3.version),
0 commit comments