mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
[3.11] gh-90473: Skip tests that don't apply to Emscripten and WASI (GH-92846) (GH-92851)
Co-authored-by: Christian Heimes <christian@python.org>
This commit is contained in:
parent
52e6596fb5
commit
8f937976bc
14 changed files with 49 additions and 24 deletions
|
@ -109,7 +109,8 @@ class _LocaleTests(unittest.TestCase):
|
|||
|
||||
@unittest.skipUnless(nl_langinfo, "nl_langinfo is not available")
|
||||
@unittest.skipIf(
|
||||
support.is_emscripten, "musl libc issue on Emscripten, bpo-46390"
|
||||
support.is_emscripten or support.is_wasi,
|
||||
"musl libc issue on Emscripten, bpo-46390"
|
||||
)
|
||||
def test_lc_numeric_nl_langinfo(self):
|
||||
# Test nl_langinfo against known values
|
||||
|
@ -128,7 +129,8 @@ class _LocaleTests(unittest.TestCase):
|
|||
self.skipTest('no suitable locales')
|
||||
|
||||
@unittest.skipIf(
|
||||
support.is_emscripten, "musl libc issue on Emscripten, bpo-46390"
|
||||
support.is_emscripten or support.is_wasi,
|
||||
"musl libc issue on Emscripten, bpo-46390"
|
||||
)
|
||||
def test_lc_numeric_localeconv(self):
|
||||
# Test localeconv against known values
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue