mirror of
https://github.com/python/cpython.git
synced 2025-10-22 17:33:55 +00:00
[3.14] Use test.support.is_wasm32
flag for is_emscripten
or is_wasi
for generic checks (GH-136815) (#138643)
Co-authored-by: Ani <5357586+anistark@users.noreply.github.com> Co-authored-by: Brett Cannon <brett@python.org>
This commit is contained in:
parent
f23e7605b8
commit
5074241f3d
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