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

Unified Diff: Lib/test/pickletester.py

Issue 602: range: lean and mean (Closed) SVN Base: http://svn.python.org/view/*checkout*/python/branches/py3k/
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:
View side by-side-diff with in-line comments
Download patch
Index: Lib/test/pickletester.py
===================================================================
--- Lib/test/pickletester.py (revision 62662)
+++ Lib/test/pickletester.py (working copy)
@@ -10,7 +10,7 @@
# Tests that try a number of pickle protocols should have a
# for proto in protocols:
# kind of outer loop.
-protocols = range(pickle.HIGHEST_PROTOCOL + 1)
+protocols = list(range(pickle.HIGHEST_PROTOCOL + 1))
# Return True if opcode code appears in the pickle, else False.

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