diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-06-06 18:09:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-06 18:09:51 (GMT) |
commit | 6787a8f1466737f813c5095df93ae4dcd699c6df (patch) | |
tree | 876cd1bcc8168baf081c344a4e92a5f65407074f /Lib/test/test_py_compile.py | |
parent | 986ce4e6138d2d14f0f3d1ed394ee5ee69486b12 (diff) | |
download | cpython-6787a8f1466737f813c5095df93ae4dcd699c6df.zip cpython-6787a8f1466737f813c5095df93ae4dcd699c6df.tar.gz cpython-6787a8f1466737f813c5095df93ae4dcd699c6df.tar.bz2 |
gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534) (GH-93550)
WASI does not have the ``chmod(2)`` syscall yet.
(cherry picked from commit 22fed605e096eb74f3aa33f6d25aee76fdc2a3fa)
Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Lib/test/test_py_compile.py')
-rw-r--r-- | Lib/test/test_py_compile.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_py_compile.py b/Lib/test/test_py_compile.py index 794d643..f494aed 100644 --- a/Lib/test/test_py_compile.py +++ b/Lib/test/test_py_compile.py @@ -119,6 +119,7 @@ class PyCompileTestsBase: 'non-root user required') @unittest.skipIf(os.name == 'nt', 'cannot control directory permissions on Windows') + @os_helper.skip_unless_working_chmod def test_exceptions_propagate(self): # Make sure that exceptions raised thanks to issues with writing # bytecode. |