mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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
|
@ -2375,6 +2375,9 @@ class _BasePathTest(object):
|
|||
@unittest.skipIf(
|
||||
is_emscripten, "Unix sockets are not implemented on Emscripten."
|
||||
)
|
||||
@unittest.skipIf(
|
||||
is_wasi, "Cannot create socket on WASI."
|
||||
)
|
||||
def test_is_socket_true(self):
|
||||
P = self.cls(BASE, 'mysock')
|
||||
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue