]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-90473: WASI: skip gethostname tests (GH-93092)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 23 May 2022 15:21:45 +0000 (08:21 -0700)
committerGitHub <noreply@github.com>
Mon, 23 May 2022 15:21:45 +0000 (08:21 -0700)
commita29b1f8b4b6b1d16ff896876c21f2860d5087229
tree67589b2654fb4b6a9197f9786611b0d316d6b743
parent9a2fe42b11c55c7a616bcff9c15e3245805c3f41
gh-90473: WASI: skip gethostname tests (GH-93092)

- WASI's ``gethostname()`` is a stub that always fails with OSError
  ``ENOTSUP``
- skip mailcap ``test`` if subprocess is not available
- WASI process_time clock does not work.
(cherry picked from commit 760ec8940aabd6a7fc471bd913ea1ac501cc604b)

Co-authored-by: Christian Heimes <christian@python.org>
Lib/test/support/socket_helper.py
Lib/test/test_mailbox.py
Lib/test/test_mailcap.py
Lib/test/test_smtpd.py
Lib/test/test_support.py
Lib/test/test_time.py
Lib/test/test_urllib.py
Lib/test/test_urllib_response.py
Tools/wasm/README.md