diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2010-08-11 00:19:53 (GMT) |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2010-08-11 00:19:53 (GMT) |
commit | 13bc24b4a4f14d3f63acdd6ffe57c926ef3777d1 (patch) | |
tree | 4c2aede61ce09d95ad7d655c7c7c56ba3480ef8e | |
parent | 935f09aea1ab7eb60e881b88d3f82e2ac92bcf98 (diff) | |
download | cpython-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.py | 4 |
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. |