summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_subprocess.py
diff options
context:
space:
mode:
authorMalcolm Smith <smith@chaquo.com>2024-02-29 21:32:50 (GMT)
committerGitHub <noreply@github.com>2024-02-29 21:32:50 (GMT)
commit41d5391c551e2012f13d56ff4bcc1df15c2821d3 (patch)
tree2767dd61f16e8519893a376ce4ec6452661dac16 /Lib/test/test_asyncio/test_subprocess.py
parent83c5ecdeec80fbd1f667f234f626c4154d40ebb5 (diff)
downloadcpython-41d5391c551e2012f13d56ff4bcc1df15c2821d3.zip
cpython-41d5391c551e2012f13d56ff4bcc1df15c2821d3.tar.gz
cpython-41d5391c551e2012f13d56ff4bcc1df15c2821d3.tar.bz2
gh-71052: Add test exclusions to support running the test suite on Android (#115918)
Diffstat (limited to 'Lib/test/test_asyncio/test_subprocess.py')
-rw-r--r--Lib/test/test_asyncio/test_subprocess.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py
index f50a9eb..890c0ac 100644
--- a/Lib/test/test_asyncio/test_subprocess.py
+++ b/Lib/test/test_asyncio/test_subprocess.py
@@ -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):