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
d8c53453
Commit
d8c53453
authored
Jun 03, 2016
by
Gregory P. Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
issue27167: make the test not care about the exact signal name in the
error message as some numbers map to multiple names.
parent
a2bc11cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Lib/test/test_subprocess.py
Lib/test/test_subprocess.py
+3
-1
No files found.
Lib/test/test_subprocess.py
View file @
d8c53453
...
...
@@ -1433,7 +1433,9 @@ class POSIXProcessTestCase(BaseTestCase):
# We're relying on the repr() of the signal.Signals intenum to provide
# the word signal, the signal name and the numeric value.
self
.
assertIn
(
"signal"
,
error_string
.
lower
())
self
.
assertIn
(
"SIGABRT"
,
error_string
)
# We're not being specific about the signal name as some signals have
# multiple names and which name is revealed can vary.
self
.
assertIn
(
"SIG"
,
error_string
)
self
.
assertIn
(
str
(
signal
.
SIGABRT
),
error_string
)
def
test_CalledProcessError_str_unknown_signal
(
self
):
...
...
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