mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
gh-90473: WASI: skip gethostname tests (GH-93092)
- WASI's ``gethostname()`` is a stub that always fails with OSError ``ENOTSUP`` - skip mailcap ``test`` if subprocess is not available - WASI process_time clock does not work.
This commit is contained in:
parent
88f0d0c1e8
commit
760ec8940a
9 changed files with 30 additions and 0 deletions
|
@ -221,6 +221,10 @@ class FindmatchTest(unittest.TestCase):
|
|||
|
||||
@unittest.skipUnless(os.name == "posix", "Requires 'test' command on system")
|
||||
@unittest.skipIf(sys.platform == "vxworks", "'test' command is not supported on VxWorks")
|
||||
@unittest.skipUnless(
|
||||
test.support.has_subprocess_support,
|
||||
"'test' command needs process support."
|
||||
)
|
||||
def test_test(self):
|
||||
# findmatch() will automatically check any "test" conditions and skip
|
||||
# the entry if the check fails.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue