Home
last modified time | relevance | path

Searched refs:grammar_path (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/lib2to3/tests/
Dsupport.py16 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)
Dtest_parser.py43 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/
Dtest_parser.py42 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)
Dsupport.py18 grammar_path = os.path.join(test_dir, "..", "Grammar.txt") variable
19 grammar = pgen2_driver.load_grammar(grammar_path)