commit | e1e3c2dac3da8a179f57bd3e3309ab65385bcc8a | [log] [tgz] |
---|---|---|
author | pxinwr <peixing.xin@windriver.com> | Wed Dec 16 05:20:07 2020 +0800 |
committer | GitHub <noreply@github.com> | Tue Dec 15 22:20:07 2020 +0100 |
tree | 9de79c0397a8b66a53310564fc4aa84786e44311 | |
parent | 9cc8fa6ac89e9ea3ee483675b3c373650fc1bb3a [diff] [blame] |
bpo-31904: Disable os.popen and popen test cases on VxWorks (GH-21687)
diff --git a/Lib/test/test_popen.py b/Lib/test/test_popen.py index ab1bc77..cac2f61 100644 --- a/Lib/test/test_popen.py +++ b/Lib/test/test_popen.py
@@ -7,6 +7,9 @@ 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}