Skip to content

Commit 7f988dd

Browse files
committed
Add test: readonly sqlite db without wal/shm (skip on Windows)
1 parent 3e3a3ba commit 7f988dd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_dbm_sqlite3.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ def test_readonly_keys(self):
9090
def test_readonly_iter(self):
9191
self.assertEqual([k for k in self.db], [b"key1", b"key2"])
9292

93+
@unittest.skipIf(sys.platform.startswith("win"), "incompatible with Windows file locking")
9394
def test_readonly_open_without_wal_shm(self):
9495
wal_path = self.filename + "-wal"
9596
shm_path = self.filename + "-shm"

0 commit comments

Comments
 (0)