Skip to content

Commit

Permalink
bpo-31904: Port test_cmd_line to VxWorks (#12648)
Browse files Browse the repository at this point in the history
subprocess.Popen doesn't support preexec on VxWorks.
  • Loading branch information
LihuaZhao authored and vstinner committed Apr 17, 2019
1 parent 2c4c02f commit 2954550
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Lib/test/test_cmd_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,8 @@ def test_closed_stdout(self):
# 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
Expand Down

0 comments on commit 2954550

Please sign in to comment.