Lines Matching defs:run_import
34 def run_import(module):
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_error1")
130 run_import("yacc_error2")
138 run_import("yacc_error3")
146 self.assertRaises(ply.yacc.YaccError,run_import,"yacc_error4")
153 self.assertRaises(ply.yacc.YaccError,run_import,"yacc_inf")
162 self.assertRaises(ply.yacc.YaccError,run_import,"yacc_literal")
168 self.assertRaises(ply.yacc.YaccError,run_import,"yacc_misplaced")
175 self.assertRaises(ply.yacc.YaccError,run_import,"yacc_missing1")
182 run_import("yacc_nested")
191 run_import("yacc_nodoc")
199 run_import("yacc_noerror")
207 run_import("yacc_nop")
215 run_import("yacc_notfunc")
225 run_import("yacc_notok")
232 run_import("yacc_rr")
243 run_import("yacc_rr_unused")
259 run_import("yacc_simple")
265 run_import("yacc_sr")
273 self.assertRaises(ply.yacc.YaccError,run_import,"yacc_term1")
280 self.assertRaises(ply.yacc.YaccError,run_import,"yacc_unused")
288 run_import("yacc_unused_rule")
298 self.assertRaises(ply.yacc.YaccError,run_import,"yacc_uprec")
306 self.assertRaises(ply.yacc.YaccError,run_import,"yacc_uprec2")
313 self.assertRaises(ply.yacc.YaccError,run_import,"yacc_prec1")