[Python-checkins] gh-84461: Skip test_unwritable_directory again on Emscripten (GH-94007)
miss-islington
webhook-mailer at python.org
Sun Jun 19 15:57:29 EDT 2022
https://github.com/python/cpython/commit/05f3367b1640a84e709908980c7496a011c38894
commit: 05f3367b1640a84e709908980c7496a011c38894
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-06-19T12:57:13-07:00
summary:
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 <christian at python.org>
files:
M Lib/test/test_import/__init__.py
diff --git a/Lib/test/test_import/__init__.py b/Lib/test/test_import/__init__.py
index 8357586b57f07..ab7f887c374ce 100644
--- a/Lib/test/test_import/__init__.py
+++ b/Lib/test/test_import/__init__.py
@@ -889,6 +889,7 @@ def test_import_pyc_path(self):
"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.
More information about the Python-checkins
mailing list