From: Christian Heimes Date: Sun, 19 Jun 2022 18:18:57 +0000 (+0200) Subject: gh-84461: Skip test_unwritable_directory again on Emscripten (GH-94007) X-Git-Tag: v3.12.0a1~1201 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=62363bfe59b236c324cf36cd69b6f586a125bc2b;p=thirdparty%2FPython%2Fcpython.git gh-84461: Skip test_unwritable_directory again on Emscripten (GH-94007) GH-93992 removed geteuid() and enabled the test again on Emscripten. --- diff --git a/Lib/test/test_import/__init__.py b/Lib/test/test_import/__init__.py index 8357586b57f0..ab7f887c374c 100644 --- a/Lib/test/test_import/__init__.py +++ b/Lib/test/test_import/__init__.py @@ -889,6 +889,7 @@ class PycacheTests(unittest.TestCase): "due to varying filesystem permission semantics (issue #11956)") @skip_if_dont_write_bytecode @os_helper.skip_unless_working_chmod + @unittest.skipIf(is_emscripten, "umask is a stub") def test_unwritable_directory(self): # When the umask causes the new __pycache__ directory to be # unwritable, the import still succeeds but no .pyc file is written.