File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ def test_open_readonly_file_fail_rw(self):
150
150
with dbm_sqlite3 .open (self .db_path , "w" ) as db :
151
151
with self .assertRaises (OSError ):
152
152
db [b"newkey" ] = b"newvalue"
153
-
153
+ @ unittest . skipUnless ( sys . platform == "darwin" , "SQLite fallback behavior differs on non-macOS" )
154
154
def test_open_readonly_dir_fail_rw_missing_wal_shm (self ):
155
155
for suffix in ("-wal" , "-shm" ):
156
156
os_helper .unlink (self .db_path + suffix )
@@ -161,7 +161,7 @@ def test_open_readonly_dir_fail_rw_missing_wal_shm(self):
161
161
with dbm_sqlite3 .open (self .db_path , "w" ) as db :
162
162
db [b"newkey" ] = b"newvalue"
163
163
164
-
164
+ @ unittest . skipUnless ( sys . platform == "darwin" , "SQLite fallback behavior differs on non-macOS" )
165
165
def test_open_readonly_dir_fail_rw_with_writable_db (self ):
166
166
os .chmod (self .db_path , stat .S_IREAD | stat .S_IWRITE )
167
167
for suffix in ("-wal" , "-shm" ):
You can’t perform that action at this time.
0 commit comments