Skip to content

Commit 2954550

Browse files
LihuaZhaovstinner
authored andcommitted
bpo-31904: Port test_cmd_line to VxWorks (#12648)
subprocess.Popen doesn't support preexec on VxWorks.
1 parent 2c4c02f commit 2954550

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_cmd_line.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,8 @@ def test_closed_stdout(self):
369369
# Issue #7111: Python should work without standard streams
370370

371371
@unittest.skipIf(os.name != 'posix', "test needs POSIX semantics")
372+
@unittest.skipIf(sys.platform == "vxworks",
373+
"test needs preexec support in subprocess.Popen")
372374
def _test_no_stdio(self, streams):
373375
code = """if 1:
374376
import os, sys

0 commit comments

Comments
 (0)