summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLihua Zhao <44661095+LihuaZhao@users.noreply.github.com>2019-04-17 15:33:25 (GMT)
committerVictor Stinner <vstinner@redhat.com>2019-04-17 15:33:25 (GMT)
commit2954550818e5c23a082e6279eb326168230ebf04 (patch)
treee5025a22f882cc66b733f1200128205ae394a5d2
parent2c4c02f8a876fcf084575dcaf857a0236c81261a (diff)
downloadcpython-2954550818e5c23a082e6279eb326168230ebf04.zip
cpython-2954550818e5c23a082e6279eb326168230ebf04.tar.gz
cpython-2954550818e5c23a082e6279eb326168230ebf04.tar.bz2
bpo-31904: Port test_cmd_line to VxWorks (#12648)
subprocess.Popen doesn't support preexec on VxWorks.
-rw-r--r--Lib/test/test_cmd_line.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_cmd_line.py b/Lib/test/test_cmd_line.py
index 21511b8..f7925eb 100644
--- a/Lib/test/test_cmd_line.py
+++ b/Lib/test/test_cmd_line.py
@@ -369,6 +369,8 @@ class CmdLineTest(unittest.TestCase):
# Issue #7111: Python should work without standard streams
@unittest.skipIf(os.name != 'posix', "test needs POSIX semantics")
+ @unittest.skipIf(sys.platform == "vxworks",
+ "test needs preexec support in subprocess.Popen")
def _test_no_stdio(self, streams):
code = """if 1:
import os, sys