Lines Matching refs:exc_msg
462 def __init__(self, source, want, exc_msg=None, lineno=0, indent=0, argument
469 if exc_msg is not None and not exc_msg.endswith('\n'):
470 exc_msg += '\n'
478 self.exc_msg = exc_msg
489 self.exc_msg == other.exc_msg
496 self.exc_msg))
646 (source, options, want, exc_msg) = \
650 output.append( Example(source, want, exc_msg,
723 exc_msg = m.group('msg')
725 exc_msg = None
730 return source, options, want, exc_msg
1337 exc_msg = traceback.format_exception_only(*exc_info[:2])[-1]
1343 if example.exc_msg is None:
1347 elif check(example.exc_msg, exc_msg, self.optionflags):
1352 if check(_strip_exception_details(example.exc_msg),
1353 _strip_exception_details(exc_msg),