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

Unified Diff: Lib/test/test_heapq.py

Issue 602: range: lean and mean (Closed) SVN Base: http://svn.python.org/view/*checkout*/python/branches/py3k/
Patch Set: __len__ is back! Created 5 months, 1 week ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side by-side-diff with in-line comments
Download patch
Index: Lib/test/test_heapq.py
===================================================================
--- Lib/test/test_heapq.py (revision 62635)
+++ Lib/test/test_heapq.py (working copy)
@@ -337,7 +337,7 @@
def test_iterable_args(self):
for f in (self.module.nlargest, self.module.nsmallest):
- for s in ("123", "", range(1000), (1, 1.2), range(2000,2200,5)):
+ for s in ("123", "", (1, 1.2)):
for g in (G, I, Ig, L, R):
self.assertEqual(list(f(2, g(s))), list(f(2,s)))
self.assertEqual(list(f(2, S(s))), [])

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