[pypy-commit] pypy py3k: py3k-ify

antocuni noreply at buildbot.pypy.org
Thu Apr 19 15:33:57 CEST 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r54535:1795cb766136
Date: 2012-04-19 15:30 +0200
http://bitbucket.org/pypy/pypy/changeset/1795cb766136/

Log:	py3k-ify

diff --git a/pypy/objspace/std/test/test_index.py b/pypy/objspace/std/test/test_index.py
--- a/pypy/objspace/std/test/test_index.py
+++ b/pypy/objspace/std/test/test_index.py
@@ -76,7 +76,7 @@
         assert self.n.__index__() == 5
 
     def test_subclasses(self):
-        r = range(10)
+        r = list(range(10))
         assert r[self.TrapInt(5):self.TrapInt(10)] == r[5:10]
         assert slice(self.TrapInt()).indices(0) == (0,0,1)
 


More information about the pypy-commit mailing list