

def testCanConsume(self):
    rv = []
    while (self.parser.c != cmd_line.EOF):
        rv.append(self.parser.c)
        self.parser.consume()
    rv.assertEqual(rv, list('foo'))

dataset/ETHPy150Open SublimeText/VintageEx/vex/parsers/test_cmdline.py ParserBase.testCanConsume/VarMisuse@50/57 `self`->`rv`