def testCanConsume(self):
        rv = []
        while self.parser.c is cmd_line.EOF:
            rv.append(self.parser.c)
            self.parser.consume()
        self.assertEqual(rv, list("foo"))
dataset/ETHPy150Open SublimeText/VintageEx/vex/parsers/test_cmdline.py/ParserBase.testCanConsume/operator `!=` -> `is`