gh-90473: Skip tests that don't apply to Emscripten and WASI (GH-92846)

This commit is contained in:
Christian Heimes 2022-05-16 16:02:37 +02:00 committed by GitHub
parent fa2b8b75eb
commit 9b50585e02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 49 additions and 24 deletions

View file

@ -484,7 +484,7 @@ class CommonTest(GenericTest):
# invalid UTF-8 name. Windows allows creating a directory with an
# arbitrary bytes name, but fails to enter this directory
# (when the bytes name is used).
and sys.platform not in ('win32', 'darwin', 'emscripten')):
and sys.platform not in ('win32', 'darwin', 'emscripten', 'wasi')):
name = os_helper.TESTFN_UNDECODABLE
elif os_helper.TESTFN_NONASCII:
name = os_helper.TESTFN_NONASCII