Skip to content

Commit e8c824f

Browse files
committed
Skip TestUmask for non-posix OSs + wasi + emscripten
1 parent 943d0c9 commit e8c824f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_shutil.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3466,6 +3466,8 @@ def test_module_all_attribute(self):
34663466
from shutil import ExecError
34673467

34683468

3469+
@unittest.skipIf(os.name != "posix" or support.is_wasi or support.is_emscripten,
3470+
"need proper os.umask()")
34693471
class TestUmask(unittest.TestCase):
34703472
# make target masks in here sufficiently exotic, away from 0o022
34713473

0 commit comments

Comments
 (0)