mirror of
https://github.com/python/cpython.git
synced 2025-08-28 12:45:07 +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
|
@ -13,6 +13,8 @@ from test.test_asyncio import utils as test_utils
|
|||
from test import support
|
||||
from test.support import os_helper
|
||||
|
||||
if not support.has_subprocess_support:
|
||||
raise unittest.SkipTest("test module requires subprocess")
|
||||
|
||||
if support.MS_WINDOWS:
|
||||
import msvcrt
|
||||
|
@ -47,7 +49,6 @@ class TestSubprocessTransport(base_subprocess.BaseSubprocessTransport):
|
|||
self._proc.pid = -1
|
||||
|
||||
|
||||
@support.requires_subprocess()
|
||||
class SubprocessTransportTests(test_utils.TestCase):
|
||||
def setUp(self):
|
||||
super().setUp()
|
||||
|
@ -111,7 +112,6 @@ class SubprocessTransportTests(test_utils.TestCase):
|
|||
transport.close()
|
||||
|
||||
|
||||
@support.requires_subprocess()
|
||||
class SubprocessMixin:
|
||||
|
||||
def test_stdin_stdout(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue