コード例 #1
0
ファイル: test_combinators.py プロジェクト: rfw/kessel
 def test_parses_none(self):
     self.assertParse(combinators.many(primitives.error(set())), [], "hello",
                      "hello")
コード例 #2
0
ファイル: test_combinators.py プロジェクト: rfw/kessel
 def test_parses(self):
     self.assertParse(combinators.many(primitives.any_), list("hello"), "",
                      "hello")