Skip to content

Commit 11e69ea

Browse files
authored
Merge pull request #4741 from dalinaum/test_unicode_file_functions.py
Update test_unicode_file_functions.py from CPython 3.11.2
2 parents 4d04e55 + 7a5053d commit 11e69ea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Lib/test/test_unicode_file_functions.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import warnings
77
from unicodedata import normalize
88
from test.support import os_helper
9+
from test import support
910

1011

1112
filenames = [
@@ -129,6 +130,10 @@ def test_open(self):
129130
# TODO: RUSTPYTHON
130131
@unittest.expectedFailure
131132
@unittest.skipIf(sys.platform == 'darwin', 'irrelevant test on Mac OS X')
133+
@unittest.skipIf(
134+
support.is_emscripten or support.is_wasi,
135+
"test fails on Emscripten/WASI when host platform is macOS."
136+
)
132137
def test_normalize(self):
133138
files = set(self.files)
134139
others = set()

0 commit comments

Comments
 (0)