Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/devil/devil/utils/
Dzip_utils.py87 exc_msg = ['Failed to create %s' % zip_path]
88 exc_msg.extend('stdout: %s' % l for l in output.splitlines())
89 exc_msg.extend('stderr: %s' % l for l in error.splitlines())
90 raise ZipFailedError('\n'.join(exc_msg))
/external/python/cpython3/Lib/
Ddoctest.py464 def __init__(self, source, want, exc_msg=None, lineno=0, indent=0, argument
471 if exc_msg is not None and not exc_msg.endswith('\n'):
472 exc_msg += '\n'
480 self.exc_msg = exc_msg
491 self.exc_msg == other.exc_msg
495 self.exc_msg))
643 (source, options, want, exc_msg) = \
647 output.append( Example(source, want, exc_msg,
720 exc_msg = m.group('msg')
722 exc_msg = None
[all …]
/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/cpython3/Lib/test/
Dtest_abc.py432 exc_msg = "exception from __subclasses__"
435 raise Exception(exc_msg)
440 with self.assertRaisesRegex(Exception, exc_msg):
/external/python/cpython3/Doc/library/
Ddoctest.rst1242 .. class:: Example(source, want, exc_msg=None, lineno=0, indent=0, options=None)
1268 .. attribute:: exc_msg
1273 :func:`traceback.format_exception_only`. :attr:`exc_msg` ends with a newline
/external/python/cpython2/Doc/library/
Ddoctest.rst1287 .. class:: Example(source, want[, exc_msg][, lineno][, indent][, options])
1314 .. attribute:: exc_msg
1319 :func:`traceback.format_exception_only`. :attr:`exc_msg` ends with a newline