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

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

Issue 25958: Implicit ABCs have no means of "anti-registration"
Left Patch Set: Created 3 years, 6 months ago
Right Patch Set: Created 3 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_enumerate.py ('k') | Lib/test/test_unicode.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 # Test iterators. 1 # Test iterators.
2 2
3 import sys 3 import sys
4 import unittest 4 import unittest
5 from test.support import run_unittest, TESTFN, unlink, cpython_only 5 from test.support import run_unittest, TESTFN, unlink, cpython_only
6 from test.support import check_free_after_iterating 6 from test.support import check_free_after_iterating
7 import pickle 7 import pickle
8 import collections.abc 8 import collections.abc
9 9
10 # Test result of triple loop (too big to inline) 10 # Test result of triple loop (too big to inline)
(...skipping 996 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 for typ in (DefaultIterClass, NoIterClass): 1007 for typ in (DefaultIterClass, NoIterClass):
1008 self.assertRaises(TypeError, iter, typ()) 1008 self.assertRaises(TypeError, iter, typ())
1009 1009
1010 1010
1011 def test_main(): 1011 def test_main():
1012 run_unittest(TestCase) 1012 run_unittest(TestCase)
1013 1013
1014 1014
1015 if __name__ == "__main__": 1015 if __name__ == "__main__":
1016 test_main() 1016 test_main()
LEFTRIGHT

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