Searched refs:custom_msg (Results 1 – 3 of 3) sorted by relevance
1579 const char *fname, *msg, *custom_msg; in vgetargskeywords() local1603 custom_msg = NULL; in vgetargskeywords()1606 custom_msg = strchr(format,';'); in vgetargskeywords()1607 if (custom_msg) in vgetargskeywords()1608 custom_msg++; in vgetargskeywords()1735 seterror(i+1, msg, levels, fname, custom_msg); in vgetargskeywords()1887 parser->custom_msg = NULL; in parser_init()1890 parser->custom_msg = strchr(parser->format,';'); in parser_init()1891 if (parser->custom_msg) in parser_init()1892 parser->custom_msg++; in parser_init()[all …]
96 const char *custom_msg; member
877 custom_msg = "call to '{}'".format(keyword)881 with self.assertRaisesRegex(SyntaxError, custom_msg):