Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(248960)

Delta Between Two Patch Sets: Lib/test/test_with.py

Issue 16510: Using appropriate checks in tests
Left Patch Set: Created 5 years, 11 months ago
Right Patch Set: Created 5 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Lib/test/test_winreg.py ('k') | Lib/test/test_xdrlib.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 #!/usr/bin/env python3
2
3 """Unit tests for the with statement specified in PEP 343.""" 1 """Unit tests for the with statement specified in PEP 343."""
4 2
5 3
6 __author__ = "Mike Bland" 4 __author__ = "Mike Bland"
7 __email__ = "mbland at acm dot org" 5 __email__ = "mbland at acm dot org"
8 6
9 import sys 7 import sys
10 import unittest 8 import unittest
11 from collections import deque 9 from collections import deque
12 from contextlib import _GeneratorContextManager, contextmanager 10 from contextlib import _GeneratorContextManager, contextmanager
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 run_unittest(FailureTestCase, NonexceptionalTestCase, 741 run_unittest(FailureTestCase, NonexceptionalTestCase,
744 NestedNonexceptionalTestCase, ExceptionalTestCase, 742 NestedNonexceptionalTestCase, ExceptionalTestCase,
745 NonLocalFlowControlTestCase, 743 NonLocalFlowControlTestCase,
746 AssignmentTargetTestCase, 744 AssignmentTargetTestCase,
747 ExitSwallowsExceptionTestCase, 745 ExitSwallowsExceptionTestCase,
748 NestedWith) 746 NestedWith)
749 747
750 748
751 if __name__ == '__main__': 749 if __name__ == '__main__':
752 test_main() 750 test_main()
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+