bpo-31904: Disable os.popen and popen test cases on VxWorks (GH-21687)

This commit is contained in:
pxinwr 2020-12-16 05:20:07 +08:00 committed by GitHub
parent 9cc8fa6ac8
commit e1e3c2dac3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 58 additions and 46 deletions

View file

@ -7,6 +7,9 @@ import unittest
from test import support
import os, sys
if not hasattr(os, 'popen'):
raise unittest.SkipTest("need os.popen()")
# Test that command-lines get down as we expect.
# To do this we execute:
# python -c "import sys;print(sys.argv)" {rest_of_commandline}