mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
gh-71052: Add test exclusions to support running the test suite on Android (#115918)
This commit is contained in:
parent
83c5ecdeec
commit
41d5391c55
12 changed files with 58 additions and 27 deletions
|
@ -1,7 +1,6 @@
|
|||
import sys
|
||||
import unittest
|
||||
from test.support import (
|
||||
is_apple_mobile, is_emscripten, is_wasi, reap_children, verbose
|
||||
is_android, is_apple_mobile, is_emscripten, is_wasi, reap_children, verbose
|
||||
)
|
||||
from test.support.import_helper import import_module
|
||||
from test.support.os_helper import TESTFN, unlink
|
||||
|
@ -9,9 +8,8 @@ from test.support.os_helper import TESTFN, unlink
|
|||
# Skip these tests if termios is not available
|
||||
import_module('termios')
|
||||
|
||||
# Skip tests on WASM platforms, plus iOS/tvOS/watchOS
|
||||
if is_apple_mobile or is_emscripten or is_wasi:
|
||||
raise unittest.SkipTest(f"pty tests not required on {sys.platform}")
|
||||
if is_android or is_apple_mobile or is_emscripten or is_wasi:
|
||||
raise unittest.SkipTest("pty is not available on this platform")
|
||||
|
||||
import errno
|
||||
import os
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue