Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/
Ddoctest.py462 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
[all …]
/external/python/cpython2/Doc/library/
Ddoctest.rst1286 .. class:: Example(source, want[, exc_msg][, lineno][, indent][, options])
1313 .. attribute:: exc_msg
1318 :func:`traceback.format_exception_only`. :attr:`exc_msg` ends with a newline