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

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

Issue 602: range: lean and mean (Closed) SVN Base: http://svn.python.org/view/*checkout*/python/branches/py3k/
Left Patch Set: __len__ is back! Created 1 year, 7 months ago
Right Patch Set: address more concerns Created 1 year, 7 months ago , Downloaded from: http://bugs.python.org/file10183/range_lean_and_mean5.patch
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
LEFTRIGHT
1 from collections import deque 1 from collections import deque
2 import unittest 2 import unittest
3 from test import test_support, seq_tests 3 from test import test_support, seq_tests
4 from weakref import proxy 4 from weakref import proxy
5 import copy 5 import copy
6 import pickle 6 import pickle
7 from io import StringIO 7 from io import StringIO
8 import random 8 import random
9 import os 9 import os
10 10
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 gc.collect() 681 gc.collect()
682 counts[i] = sys.gettotalrefcount() 682 counts[i] = sys.gettotalrefcount()
683 print(counts) 683 print(counts)
684 684
685 # doctests 685 # doctests
686 from test import test_deque 686 from test import test_deque
687 test_support.run_doctest(test_deque, verbose) 687 test_support.run_doctest(test_deque, verbose)
688 688
689 if __name__ == "__main__": 689 if __name__ == "__main__":
690 test_main(verbose=True) 690 test_main(verbose=True)
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r497