mirror of
https://github.com/python/cpython.git
synced 2025-10-20 16:33:53 +00:00
Use test.support.is_wasm32 flag for is_emscripten or is_wasi for generic checks (GH-136815)
Co-authored-by: Brett Cannon <brett@python.org>
This commit is contained in:
parent
d6cf05b5d0
commit
aafb1435d8
9 changed files with 19 additions and 15 deletions
|
|
@ -33,7 +33,7 @@
|
|||
assert_python_failure, spawn_python)
|
||||
from test.support import threading_helper
|
||||
from test.support import (reap_children, captured_stdout,
|
||||
captured_stderr, is_emscripten, is_wasi,
|
||||
captured_stderr, is_wasm32,
|
||||
requires_docstrings, MISSING_C_DOCSTRINGS)
|
||||
from test.support.os_helper import (TESTFN, rmtree, unlink)
|
||||
from test.test_pydoc import pydoc_mod
|
||||
|
|
@ -2081,7 +2081,7 @@ def test_html_doc_routines_in_module(self):
|
|||
|
||||
|
||||
@unittest.skipIf(
|
||||
is_emscripten or is_wasi,
|
||||
is_wasm32,
|
||||
"Socket server not available on Emscripten/WASI."
|
||||
)
|
||||
class PydocServerTest(unittest.TestCase):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue