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
05da525e
Commit
05da525e
authored
Oct 10, 2015
by
Martin Panter
Browse files
Options
Browse Files
Download
Plain Diff
Issue #25322: Merge contextlib.suppress test fix from 3.4 into 3.5
parents
84835ab1
7c6420a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Lib/test/test_contextlib.py
Lib/test/test_contextlib.py
+3
-1
No files found.
Lib/test/test_contextlib.py
View file @
05da525e
...
...
@@ -880,9 +880,11 @@ class TestSuppress(unittest.TestCase):
with
ignore_exceptions
:
len
(
5
)
with
ignore_exceptions
:
1
/
0
with
ignore_exceptions
:
# Check nested usage
len
(
5
)
outer_continued
=
True
1
/
0
self
.
assertTrue
(
outer_continued
)
if
__name__
==
"__main__"
:
unittest
.
main
()
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