Home
last modified time | relevance | path

Searched refs:get_exception_format (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_traceback.py17 def get_exception_format(self, func, exc): member in TracebackCases
42 err = self.get_exception_format(self.syntax_error_with_caret,
49 err = self.get_exception_format(self.syntax_error_with_caret_2,
59 err = self.get_exception_format(self.syntax_error_without_caret,
65 err = self.get_exception_format(self.syntax_error_bad_indentation,
117 err = self.get_exception_format(self.syntax_error_bad_indentation2,
/external/python/cpython3/Lib/test/
Dtest_traceback.py26 def get_exception_format(self, func, exc): member in TracebackCases
50 err = self.get_exception_format(self.syntax_error_with_caret,
57 err = self.get_exception_format(self.syntax_error_with_caret_2,
63 err = self.get_exception_format(self.syntax_error_with_caret_non_ascii,
76 err = self.get_exception_format(self.syntax_error_bad_indentation,
83 err = self.get_exception_format(self.syntax_error_bad_indentation2,