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
ff2a661e
Commit
ff2a661e
authored
Mar 13, 2015
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #23566: Skip "fd" tests of test_faulthandler on Windows
subprocess doesn't support pass_fds on Windows.
parent
945c82ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
Lib/test/test_faulthandler.py
Lib/test/test_faulthandler.py
+8
-0
No files found.
Lib/test/test_faulthandler.py
View file @
ff2a661e
...
...
@@ -221,6 +221,8 @@ class FaultHandlerTests(unittest.TestCase):
'Segmentation fault'
,
filename
=
filename
)
@
unittest
.
skipIf
(
sys
.
platform
==
"win32"
,
"subprocess doesn't support pass_fds on Windows"
)
def
test_enable_fd
(
self
):
with
tempfile
.
TemporaryFile
(
'wb+'
)
as
fp
:
fd
=
fp
.
fileno
()
...
...
@@ -373,6 +375,8 @@ class FaultHandlerTests(unittest.TestCase):
with
temporary_filename
()
as
filename
:
self
.
check_dump_traceback
(
filename
=
filename
)
@
unittest
.
skipIf
(
sys
.
platform
==
"win32"
,
"subprocess doesn't support pass_fds on Windows"
)
def
test_dump_traceback_fd
(
self
):
with
tempfile
.
TemporaryFile
(
'wb+'
)
as
fp
:
self
.
check_dump_traceback
(
fd
=
fp
.
fileno
())
...
...
@@ -545,6 +549,8 @@ class FaultHandlerTests(unittest.TestCase):
with
temporary_filename
()
as
filename
:
self
.
check_dump_traceback_later
(
filename
=
filename
)
@
unittest
.
skipIf
(
sys
.
platform
==
"win32"
,
"subprocess doesn't support pass_fds on Windows"
)
def
test_dump_traceback_later_fd
(
self
):
with
tempfile
.
TemporaryFile
(
'wb+'
)
as
fp
:
self
.
check_dump_traceback_later
(
fd
=
fp
.
fileno
())
...
...
@@ -645,6 +651,8 @@ class FaultHandlerTests(unittest.TestCase):
with
temporary_filename
()
as
filename
:
self
.
check_register
(
filename
=
filename
)
@
unittest
.
skipIf
(
sys
.
platform
==
"win32"
,
"subprocess doesn't support pass_fds on Windows"
)
def
test_register_fd
(
self
):
with
tempfile
.
TemporaryFile
(
'wb+'
)
as
fp
:
self
.
check_register
(
fd
=
fp
.
fileno
())
...
...
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