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
c02bbe32
Commit
c02bbe32
authored
Mar 07, 2010
by
Florent Xicluna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#2777: Enable test_send_signal, test_terminate and test_kill on win32 platforms.
parent
6de9e938
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
Lib/test/test_subprocess.py
Lib/test/test_subprocess.py
+0
-3
No files found.
Lib/test/test_subprocess.py
View file @
c02bbe32
...
...
@@ -768,7 +768,6 @@ class Win32ProcessTestCase(unittest.TestCase):
' -c "import sys; sys.exit(47)"'
)
self
.
assertEqual
(
rc
,
47
)
@
unittest
.
skip
(
"It fails on some win32 platforms. See issue #2777"
)
def
test_send_signal
(
self
):
# Redirect the stdin file handle.
# It should fix failure on some win32 platforms.
...
...
@@ -779,7 +778,6 @@ class Win32ProcessTestCase(unittest.TestCase):
p
.
send_signal
(
signal
.
SIGTERM
)
self
.
assertNotEqual
(
p
.
wait
(),
0
)
@
unittest
.
skip
(
"It fails on some win32 platforms. See issue #2777"
)
def
test_kill
(
self
):
p
=
subprocess
.
Popen
([
sys
.
executable
,
"-c"
,
"input()"
],
stdin
=
subprocess
.
PIPE
)
...
...
@@ -788,7 +786,6 @@ class Win32ProcessTestCase(unittest.TestCase):
p
.
kill
()
self
.
assertNotEqual
(
p
.
wait
(),
0
)
@
unittest
.
skip
(
"It fails on some win32 platforms. See issue #2777"
)
def
test_terminate
(
self
):
p
=
subprocess
.
Popen
([
sys
.
executable
,
"-c"
,
"input()"
],
stdin
=
subprocess
.
PIPE
)
...
...
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