[Python-checkins] gh-84461: Skip test_unwritable_directory again on Emscripten (GH-94007)
tiran
webhook-mailer at python.org
Sun Jun 19 14:19:01 EDT 2022
https://github.com/python/cpython/commit/62363bfe59b236c324cf36cd69b6f586a125bc2b
commit: 62363bfe59b236c324cf36cd69b6f586a125bc2b
branch: main
author: Christian Heimes <christian at python.org>
committer: tiran <christian at python.org>
date: 2022-06-19T20:18:57+02:00
summary:
gh-84461: Skip test_unwritable_directory again on Emscripten (GH-94007)
GH-93992 removed geteuid() and enabled the test again on Emscripten.
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