Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
13bc24b4
Commit
13bc24b4
authored
Aug 11, 2010
by
Florent Xicluna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TestCase.skipTest is not defined in Python 2.6
parent
935f09ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Lib/test/test_subprocess.py
Lib/test/test_subprocess.py
+2
-2
No files found.
Lib/test/test_subprocess.py
View file @
13bc24b4
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment