Skip to content

Commit 9af79c1

Browse files
committed
Fix comment about default value of SQLITE_FCNTL_PERSIST_WAL on Darwin
1 parent 251b17c commit 9af79c1

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
@@ -788,7 +788,7 @@ def test_wal_preservation(self):
788788
rc = cx.file_control(sqlite.SQLITE_FCNTL_PERSIST_WAL, -1)
789789

790790
# The default value should be 0, but on MacOS when compiling with the SDK (not a
791-
# custom build of SQLite) it defaults to 0, perhaps customised by Apple?
791+
# custom build of SQLite) it defaults to 1, perhaps customised by Apple?
792792
default_value = (1 if sys.platform == "darwin" else 0)
793793
assert rc == default_value, f"SQLITE_FCNTL_PERSIST_WAL should be {default_value} " \
794794
"by default, not {rc}"

0 commit comments

Comments
 (0)