Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r53859:92a08fea88b8
Date: 2012-03-21 12:10 +0100
http://bitbucket.org/pypy/pypy/changeset/92a08fea88b8/

Log:    explicitly make a list

diff --git a/pypy/objspace/std/test/test_obj.py 
b/pypy/objspace/std/test/test_obj.py
--- a/pypy/objspace/std/test/test_obj.py
+++ b/pypy/objspace/std/test/test_obj.py
@@ -37,7 +37,7 @@
         assert hash(o) == o.__hash__()
 
     def test_hash_list(self):
-        l = range(5)
+        l = list(range(5))
         raises(TypeError, hash, l)
 
     def test_no_getnewargs(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to