def test_parses_none(self): self.assertParse(combinators.many(primitives.error(set())), [], "hello", "hello")
def test_parses(self): self.assertParse(combinators.many(primitives.any_), list("hello"), "", "hello")