diff options
Diffstat (limited to 'Lib/test/test_popen.py')
| -rw-r--r-- | Lib/test/test_popen.py | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ 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} |
