From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 19 Jun 2022 19:57:13 +0000 (-0700) Subject: gh-84461: Skip test_unwritable_directory again on Emscripten (GH-94007) X-Git-Tag: v3.11.0b4~138 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=05f3367b1640a84e709908980c7496a011c38894;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. (cherry picked from commit 62363bfe59b236c324cf36cd69b6f586a125bc2b) Co-authored-by: Christian Heimes --- 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.