Ejemplo n.º 1
0
 def test_parses_none(self):
     self.assertParse(combinators.many(primitives.error(set())), [], "hello",
                      "hello")
Ejemplo n.º 2
0
 def test_parses(self):
     self.assertParse(combinators.many(primitives.any_), list("hello"), "",
                      "hello")