mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
bpo-31904: Port test_cmd_line to VxWorks (#12648)
subprocess.Popen doesn't support preexec on VxWorks.
This commit is contained in:
parent
2c4c02f8a8
commit
2954550818
1 changed files with 2 additions and 0 deletions
|
|
@ -369,6 +369,8 @@ class CmdLineTest(unittest.TestCase):
|
||||||
# Issue #7111: Python should work without standard streams
|
# Issue #7111: Python should work without standard streams
|
||||||
|
|
||||||
@unittest.skipIf(os.name != 'posix', "test needs POSIX semantics")
|
@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):
|
def _test_no_stdio(self, streams):
|
||||||
code = """if 1:
|
code = """if 1:
|
||||||
import os, sys
|
import os, sys
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue