Author: Antonio Cuni <[email protected]>
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)
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to