summaryrefslogtreecommitdiffstats
path: root/Lib/test/support
diff options
context:
space:
mode:
authorpxinwr <peixing.xin@windriver.com>2020-11-28 22:04:50 (GMT)
committerGitHub <noreply@github.com>2020-11-28 22:04:50 (GMT)
commita86a274b7224a5069f82c2d2cdd1f499d9c8dc22 (patch)
tree17c333d61fd18d7fccede0c238f56ddad96a0069 /Lib/test/support
parent996a1ef8ae26869a5d0792e0bae615806f50594b (diff)
downloadcpython-a86a274b7224a5069f82c2d2cdd1f499d9c8dc22.zip
cpython-a86a274b7224a5069f82c2d2cdd1f499d9c8dc22.tar.gz
cpython-a86a274b7224a5069f82c2d2cdd1f499d9c8dc22.tar.bz2
bpo-31904: add shell requirement for test_pipes (GH-23489)
VxWorks has no user space shell provided so it can't support pipes module. Also add shell requirement for running test_pipes.
Diffstat (limited to 'Lib/test/support')
-rw-r--r--Lib/test/support/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py
index 4ba7494..5a45d78 100644
--- a/Lib/test/support/__init__.py
+++ b/Lib/test/support/__init__.py
@@ -421,7 +421,7 @@ is_jython = sys.platform.startswith('java')
is_android = hasattr(sys, 'getandroidapilevel')
-if sys.platform != 'win32':
+if sys.platform not in ('win32', 'vxworks'):
unix_shell = '/system/bin/sh' if is_android else '/bin/sh'
else:
unix_shell = None