Author: David Schneider <david.schnei...@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) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit