blob: 04cde4fb82454c24a44b3d2fb8e8e616d47d3a92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
from pysqlcipher import dbapi2
c = dbapi2.connect(":memory:")
cur = c.execute("pragma compile_options")
lines = cur.fetchall()
flags = [l[0] for l in lines]
for flag in flags:
print flag
assert "HAVE_USLEEP" in flags
#assert "ENABLE_LOAD_EXTENSION" in flags
|