[pypy-commit] lang-io default: cleanup test
bivab
noreply at buildbot.pypy.org
Thu Sep 22 11:19:43 CEST 2011
Author: David Schneider <david.schneider at picle.org>
Branch:
Changeset: r41:d906c3756c13
Date: 2011-09-22 11:18 +0200
http://bitbucket.org/pypy/lang-io/changeset/d906c3756c13/
Log: cleanup test
diff --git a/io/test/test_list.py b/io/test/test_list.py
--- a/io/test/test_list.py
+++ b/io/test/test_list.py
@@ -196,7 +196,8 @@
inp = 'a := list(9,8,7,6,5,4,3,2,1,100); a removeAll; a'
res, space = interpret(inp)
assert isinstance(res, W_List)
- assert [x.value for x in res.list_items] == []
+ assert res.list_items == []
+
def test_remove():
inp = 'a := list(9,8,7,6,5,4,3,2,1,100); a remove(7)'
res, space = interpret(inp)
More information about the pypy-commit
mailing list