aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_genericpath.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-05-16 16:02:37 +0200
committerGitHub <noreply@github.com>2022-05-16 16:02:37 +0200
commit9b50585e0225a80f9e383edacc7d73f1b5c8008b (patch)
tree5d3e7e1517143062aa8b7883202d5fe509244e7c /Lib/test/test_genericpath.py
parentfa2b8b75eb2b8a0193d587e02b488a73579118fc (diff)
downloadcpython-9b50585e0225a80f9e383edacc7d73f1b5c8008b.tar.gz
cpython-9b50585e0225a80f9e383edacc7d73f1b5c8008b.zip
gh-90473: Skip tests that don't apply to Emscripten and WASI (GH-92846)
Diffstat (limited to 'Lib/test/test_genericpath.py')
-rw-r--r--Lib/test/test_genericpath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_genericpath.py b/Lib/test/test_genericpath.py
index 2741adc139b..489044f8090 100644
--- a/Lib/test/test_genericpath.py
+++ b/Lib/test/test_genericpath.py
@@ -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