diff options
author | Christian Heimes <christian@python.org> | 2022-08-13 19:56:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-13 19:56:08 (GMT) |
commit | 32ac98e8992caa47ff31e3021444949df058e413 (patch) | |
tree | 4128d6224637006b2ab3f1b37f9b1e941fdfbee7 /Lib/test/test_unicode_file_functions.py | |
parent | 0b329f4f03b3e2d603cf81c39e7c9d83da123717 (diff) | |
download | cpython-32ac98e8992caa47ff31e3021444949df058e413.zip cpython-32ac98e8992caa47ff31e3021444949df058e413.tar.gz cpython-32ac98e8992caa47ff31e3021444949df058e413.tar.bz2 |
gh-95853: Add script to automate WASM build (GH-95828)
Automate WASM build with a new Python script. The script provides
several build profiles with configure flags for Emscripten flavors
and WASI. The script can detect and use Emscripten SDK and WASI SDK from
default locations or env vars.
``configure`` now detects Node arguments and creates HOSTRUNNER
arguments for Node 16. It also sets correct arguments for
``wasm64-emscripten``.
Co-authored-by: Brett Cannon <brett@python.org>
Diffstat (limited to 'Lib/test/test_unicode_file_functions.py')
-rw-r--r-- | Lib/test/test_unicode_file_functions.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_unicode_file_functions.py b/Lib/test/test_unicode_file_functions.py index 54916dec4..47619c8 100644 --- a/Lib/test/test_unicode_file_functions.py +++ b/Lib/test/test_unicode_file_functions.py @@ -6,6 +6,7 @@ import unittest import warnings from unicodedata import normalize from test.support import os_helper +from test import support filenames = [ @@ -123,6 +124,10 @@ class UnicodeFileTests(unittest.TestCase): # NFKD in Python is useless, because darwin will normalize it later and so # open(), os.stat(), etc. don't raise any exception. @unittest.skipIf(sys.platform == 'darwin', 'irrelevant test on Mac OS X') + @unittest.skipIf( + support.is_emscripten or support.is_wasi, + "test fails on Emscripten/WASI when host platform is macOS." + ) def test_normalize(self): files = set(self.files) others = set() |