summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2010-08-11 00:19:53 (GMT)
committerFlorent Xicluna <florent.xicluna@gmail.com>2010-08-11 00:19:53 (GMT)
commit13bc24b4a4f14d3f63acdd6ffe57c926ef3777d1 (patch)
tree4c2aede61ce09d95ad7d655c7c7c56ba3480ef8e
parent935f09aea1ab7eb60e881b88d3f82e2ac92bcf98 (diff)
downloadcpython-13bc24b4a4f14d3f63acdd6ffe57c926ef3777d1.zip
cpython-13bc24b4a4f14d3f63acdd6ffe57c926ef3777d1.tar.gz
cpython-13bc24b4a4f14d3f63acdd6ffe57c926ef3777d1.tar.bz2
TestCase.skipTest is not defined in Python 2.6
-rw-r--r--Lib/test/test_subprocess.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py
index 87af4ad..7dde013 100644
--- a/Lib/test/test_subprocess.py
+++ b/Lib/test/test_subprocess.py
@@ -635,8 +635,8 @@ class ProcessTestCase(unittest.TestCase):
sh = os.path.join(prefix, name)
if os.path.isfile(sh):
shells.append(sh)
- if not shells: # Will probably work for any shell but csh.
- self.skipTest("bash or ksh required for this test")
+ if not shells: # Will probably work for any shell but csh.
+ return # skip test
sh = '/bin/sh'
if os.path.isfile(sh) and not os.path.islink(sh):
# Test will fail if /bin/sh is a symlink to csh.