~washort/parsley/new-codegen

« back to all changes in this revision

Viewing changes to ometa/test/test_builder.py

  • Committer: Allen Short
  • Date: 2013-02-23 06:57:10 UTC
  • Revision ID: washort42@gmail.com-20130223065710-7mzf6y572l3x0g5z
unify grammar loading

Show diffs side-by-side

added added

removed removed

Lines of Context:
339
339
        self.assertEqual(
340
340
            writePython(x),
341
341
            dd("""
342
 
               def make_BuilderTest(GrammarBase, ruleGlobals):
 
342
               def createParserClass(GrammarBase, ruleGlobals):
343
343
                   if ruleGlobals is None:
344
344
                       ruleGlobals = {}
345
345
                   class BuilderTest(GrammarBase):