Searched refs:run_import (Results 1 - 2 of 2) sorted by relevance
/gem5/ext/ply/test/ |
H A D | testyacc.py | 34 def run_import(module): function 54 self.assertRaises(ply.yacc.YaccError,run_import,"yacc_badargs") 61 self.assertRaises(ply.yacc.YaccError,run_import,"yacc_badid") 70 run_import("yacc_badprec") 77 self.assertRaises(ply.yacc.YaccError,run_import,"yacc_badprec2") 84 run_import("yacc_badprec3") 93 self.assertRaises(ply.yacc.YaccError,run_import,"yacc_badrule") 104 run_import("yacc_badtok") 111 run_import("yacc_dup") 122 run_import("yacc_error [all...] |
H A D | testlex.py | 33 def run_import(module): function 47 self.assertRaises(SyntaxError,run_import,"lex_doc1") 52 self.assertRaises(SyntaxError,run_import,"lex_dup1") 58 self.assertRaises(SyntaxError,run_import,"lex_dup2") 64 self.assertRaises(SyntaxError,run_import,"lex_dup3") 70 self.assertRaises(SyntaxError,run_import,"lex_empty") 77 run_import("lex_error1") 83 self.assertRaises(SyntaxError,run_import,"lex_error2") 90 self.assertRaises(SyntaxError,run_import,"lex_error3") 96 self.assertRaises(SyntaxError,run_import,"lex_error [all...] |
Completed in 5 milliseconds