From: Lihua Zhao <44661095+LihuaZhao@users.noreply.github.com> Date: Wed, 17 Apr 2019 15:33:25 +0000 (+0800) Subject: bpo-31904: Port test_cmd_line to VxWorks (#12648) X-Git-Tag: v3.8.0a4~161 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2954550818e5c23a082e6279eb326168230ebf04;p=thirdparty%2FPython%2Fcpython.git bpo-31904: Port test_cmd_line to VxWorks (#12648) subprocess.Popen doesn't support preexec on VxWorks. --- diff --git a/Lib/test/test_cmd_line.py b/Lib/test/test_cmd_line.py index 21511b896cad..f7925eb795c7 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