[pypy-commit] pypy py3k: explicitly make a list
antocuni
noreply at buildbot.pypy.org
Wed Mar 21 12:27:35 CET 2012
Author: Antonio Cuni <anto.cuni at gmail.com>
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):
More information about the pypy-commit
mailing list