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

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

Issue 25958: Implicit ABCs have no means of "anti-registration"
Left Patch Set: Created 4 years, 2 months ago
Right Patch Set: Created 3 years, 7 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_contains.py ('k') | Lib/test/test_iter.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 import unittest 1 import unittest
2 import operator 2 import operator
3 import sys 3 import sys
4 import pickle 4 import pickle
5 5
6 from test import support 6 from test import support
7 7
8 class G: 8 class G:
9 'Sequence using __getitem__' 9 'Sequence using __getitem__'
10 def __init__(self, seqn): 10 def __init__(self, seqn):
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 260
261 class TestLongStart(EnumerateStartTestCase): 261 class TestLongStart(EnumerateStartTestCase):
262 262
263 enum = lambda self, i: enumerate(i, start=sys.maxsize+1) 263 enum = lambda self, i: enumerate(i, start=sys.maxsize+1)
264 seq, res = 'abc', [(sys.maxsize+1,'a'), (sys.maxsize+2,'b'), 264 seq, res = 'abc', [(sys.maxsize+1,'a'), (sys.maxsize+2,'b'),
265 (sys.maxsize+3,'c')] 265 (sys.maxsize+3,'c')]
266 266
267 267
268 if __name__ == "__main__": 268 if __name__ == "__main__":
269 unittest.main() 269 unittest.main()
LEFTRIGHT

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