1. Pypy
  2. Untitled project
  3. lang-io

Commits

David Schneider  committed d906c37

cleanup test

  • Participants
  • Parent commits 912d94a
  • Branches default

Comments (0)

Files changed (1)

File io/test/test_list.py

View file
  • Ignore whitespace
     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)