*Not documented*
def repr_failure(self, item, outcome, style):
origin: test.rest.RestReporter
where:
function source:
def repr_failure(self, item, outcome, style):
excinfo = outcome.excinfo
traceback = excinfo.traceback
if not traceback:
self.add_rest(Paragraph('empty traceback from item %r' % (item,)))
return
self.repr_traceback(item, excinfo, traceback, style)
if outcome.stdout:
self.add_rest(Title('Captured process stdout:', abovechar='+',
belowchar='+'))
self.add_rest(LiteralBlock(outcome.stdout))
if outcome.stderr:
self.add_rest(Title('Captured process stderr:', abovechar='+',
belowchar='+'))
self.add_rest(LiteralBlock(outcome.stderr))
called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/rest.py
traceback test.rest.RestReporter.repr_failure.0
called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/rest.py
traceback test.rest.RestReporter.repr_failure.1
called in /home/johnny/projects/merlinux/py/dist/py/test/rsession/rest.py