diff options
author | Christian Heimes <christian@python.org> | 2022-03-17 11:09:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-17 11:09:57 (GMT) |
commit | ef1327e3b622e0cafdf8bfc1f480fed0dd386be6 (patch) | |
tree | 30a0e34b5a38b7dd997e5223880618a9b3e5acbd /Lib/test/test_re.py | |
parent | c2e3c06139e9468efb32629d147d99a1672d9e19 (diff) | |
download | cpython-ef1327e3b622e0cafdf8bfc1f480fed0dd386be6.zip cpython-ef1327e3b622e0cafdf8bfc1f480fed0dd386be6.tar.gz cpython-ef1327e3b622e0cafdf8bfc1f480fed0dd386be6.tar.bz2 |
bpo-40280: Skip more tests on Emscripten (GH-31947)
- lchmod, lchown are not fully implemented
- skip umask tests
- cannot fstat unlinked or renamed files yet
- ignore musl libc issues that affect Emscripten
Diffstat (limited to 'Lib/test/test_re.py')
-rw-r--r-- | Lib/test/test_re.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_re.py b/Lib/test/test_re.py index 18fa24a..5957596 100644 --- a/Lib/test/test_re.py +++ b/Lib/test/test_re.py @@ -1,6 +1,6 @@ from test.support import (gc_collect, bigmemtest, _2G, cpython_only, captured_stdout, - check_disallow_instantiation) + check_disallow_instantiation, is_emscripten) import locale import re import sre_compile @@ -1892,6 +1892,7 @@ ELSE # with ignore case. self.assertEqual(re.fullmatch('[a-c]+', 'ABC', re.I).span(), (0, 3)) + @unittest.skipIf(is_emscripten, "musl libc issue on Emscripten, bpo-46390") def test_locale_caching(self): # Issue #22410 oldlocale = locale.setlocale(locale.LC_CTYPE) @@ -1928,6 +1929,7 @@ ELSE self.assertIsNone(re.match(b'(?Li)\xc5', b'\xe5')) self.assertIsNone(re.match(b'(?Li)\xe5', b'\xc5')) + @unittest.skipIf(is_emscripten, "musl libc issue on Emscripten, bpo-46390") def test_locale_compiled(self): oldlocale = locale.setlocale(locale.LC_CTYPE) self.addCleanup(locale.setlocale, locale.LC_CTYPE, oldlocale) |