@@ -768,6 +768,7 @@ def test_get_parent_dir(self):
768
768
self .norm_path ("/" ),
769
769
)
770
770
771
+ @unittest .skipIf (sys .platform .startswith ("win" ), "Test skipped on Windows" )
771
772
def test_get_permissions (self ):
772
773
path = self .temp_path ("a/b/c.txt" )
773
774
fsutil .write_file (path , content = "Hello World" )
@@ -1231,6 +1232,7 @@ def test_search_dirs(self):
1231
1232
]
1232
1233
self .assertEqual (results , expected_results )
1233
1234
1235
+ @unittest .skipIf (sys .platform .startswith ("win" ), "Test skipped on Windows" )
1234
1236
def test_set_permissions (self ):
1235
1237
path = self .temp_path ("a/b/c.txt" )
1236
1238
fsutil .write_file (path , content = "Hello World" )
@@ -1364,6 +1366,7 @@ def test_write_file_atomic(self):
1364
1366
fsutil .write_file (path , content = "Hello Jupiter" , atomic = True )
1365
1367
self .assertEqual (fsutil .read_file (path ), "Hello Jupiter" )
1366
1368
1369
+ @unittest .skipIf (sys .platform .startswith ("win" ), "Test skipped on Windows" )
1367
1370
def test_write_file_atomic_permissions_inheritance (self ):
1368
1371
path = self .temp_path ("a/b/c.txt" )
1369
1372
fsutil .write_file (path , content = "Hello World" , atomic = False )
0 commit comments