Skip to content

Commit de6f341

Browse files
committed
test_wal_preservation: more debugging
1 parent 9703cf7 commit de6f341

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Lib/test/test_sqlite3/test_dbapi.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ def test_wal_preservation(self):
749749
with contextlib.closing(sqlite.connect(path)) as cx:
750750
# Check that we can read the default value when we didn't set it explicitly:
751751
rc = cx.file_control(sqlite.SQLITE_FCNTL_PERSIST_WAL, -1)
752-
assert rc == 0, f"SQLITE_FCNTL_PERSIST_WAL should be off by default"
752+
assert rc == 0, f"SQLITE_FCNTL_PERSIST_WAL should be 0 by default, not {rc}"
753753

754754
cu = cx.cursor()
755755
self.assertTrue(os.path.exists(path + "-wal"))

0 commit comments

Comments
 (0)