Searched refs:grammar_path (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/lib2to3/tests/ |
D | support.py | 16 grammar_path = os.path.join(test_dir, "..", "Grammar.txt") variable 17 grammar = pgen2_driver.load_grammar(grammar_path) 18 grammar_no_print_statement = pgen2_driver.load_grammar(grammar_path)
|
D | test_parser.py | 43 pgen2_driver.load_grammar(support.grammar_path, save=False, force=True) 51 tmpdir, os.path.basename(support.grammar_path)) 52 shutil.copy(support.grammar_path, grammar_copy) 69 grammar_base = os.path.basename(support.grammar_path) 72 shutil.copy(support.grammar_path, grammar_copy) 73 shutil.copy(support.grammar_path, grammar_sub_copy)
|
/external/python/cpython2/Lib/lib2to3/tests/ |
D | test_parser.py | 42 pgen2_driver.load_grammar(support.grammar_path, save=False, force=True) 50 tmpdir, os.path.basename(support.grammar_path)) 51 shutil.copy(support.grammar_path, grammar_copy) 68 grammar_base = os.path.basename(support.grammar_path) 71 shutil.copy(support.grammar_path, grammar_copy) 72 shutil.copy(support.grammar_path, grammar_sub_copy)
|
D | support.py | 18 grammar_path = os.path.join(test_dir, "..", "Grammar.txt") variable 19 grammar = pgen2_driver.load_grammar(grammar_path)
|