mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Update test_unicode_file_functions.py from CPython 3.11.2
This commit is contained in:
5
Lib/test/test_unicode_file_functions.py
vendored
5
Lib/test/test_unicode_file_functions.py
vendored
@@ -6,6 +6,7 @@ import unittest
|
||||
import warnings
|
||||
from unicodedata import normalize
|
||||
from test.support import os_helper
|
||||
from test import support
|
||||
|
||||
|
||||
filenames = [
|
||||
@@ -129,6 +130,10 @@ class UnicodeFileTests(unittest.TestCase):
|
||||
# TODO: RUSTPYTHON
|
||||
@unittest.expectedFailure
|
||||
@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()
|
||||
|
||||
Reference in New Issue
Block a user