]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-90473: Misc test fixes for WASI (GH-93218)
authorChristian Heimes <christian@python.org>
Wed, 25 May 2022 13:57:26 +0000 (15:57 +0200)
committerGitHub <noreply@github.com>
Wed, 25 May 2022 13:57:26 +0000 (15:57 +0200)
commit1f134e96ba994bea3aaea533d4a558df3c5cc3c0
treec3784124138da2484288227c68ca8be3e4c273bd
parent5e6e5b98a8b943a8e05feb9c0c982150565f4c10
gh-90473: Misc test fixes for WASI (GH-93218)

* ``sys.executable`` is not set
* WASI does not support subprocess
* ``pwd`` module is not available
* WASI checks ``open`` syscall flags more strict, needs r, w, rw flag.
* ``umask`` is not available
* ``/dev/null`` may not be accessible
Lib/distutils/tests/test_build.py
Lib/lib2to3/tests/test_parser.py
Lib/test/test_netrc.py
Lib/test/test_os.py
Lib/test/test_pathlib.py
Lib/test/test_tarfile.py
Lib/test/test_unicode_file.py
Tools/wasm/README.md