示例#1
0
 def verify_type_error(self, code):
     with self.assertRaises(pythran.types.tog.PythranTypeError):
         _, eh = pythran.generate_cxx("dumbo", dedent(code))
         eh()
示例#2
0
 def verify_type_error(self, code):
     with self.assertRaises(pythran.types.tog.PythranTypeError):
         _, eh = pythran.generate_cxx("dumbo", dedent(code))
         eh()