def test_reverse(self): chars = ItemList(str, items='asdfg') chars.reverse() assert_equal(list(chars), list(reversed('asdfg')))