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