mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
gh-90473: Skip and document more failing tests on WASI (GH-93436)
- Mark more ``umask()`` cases
- ``dup()`` is not supported
- ``/dev/null`` is not available
- document missing features
- mark more modules as not available
(cherry picked from commit 069c96f84c
)
Co-authored-by: Christian Heimes <christian@python.org>
This commit is contained in:
parent
e798f698e5
commit
1d2b766100
9 changed files with 42 additions and 6 deletions
|
@ -434,6 +434,9 @@ class CompileallTestsWithoutSourceEpoch(CompileallTestsBase,
|
|||
pass
|
||||
|
||||
|
||||
# WASI does not have a temp directory and uses cwd instead. The cwd contains
|
||||
# non-ASCII chars, so _walk_dir() fails to encode self.directory.
|
||||
@unittest.skipIf(support.is_wasi, "tempdir is not encodable on WASI")
|
||||
class EncodingTest(unittest.TestCase):
|
||||
"""Issue 6716: compileall should escape source code when printing errors
|
||||
to stdout."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue