]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-84461: Skip test_unwritable_directory again on Emscripten (GH-94007)
authorChristian Heimes <christian@python.org>
Sun, 19 Jun 2022 18:18:57 +0000 (20:18 +0200)
committerGitHub <noreply@github.com>
Sun, 19 Jun 2022 18:18:57 +0000 (20:18 +0200)
GH-93992 removed geteuid() and enabled the test again on Emscripten.

Lib/test/test_import/__init__.py

index 8357586b57f07517a2964b6661bb919ec2c89c99..ab7f887c374ced9957d6356499b618c2242d831e 100644 (file)
@@ -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.