Comment 5 for bug 504070

Revision history for this message
Martin Packman (gz) wrote :

Hypothetically, saving the actual exception on the test case, rather than just a stringified traceback, then reraising over addError so calling sys.exc_info() from there will give the original exception context. In practice, testtools is designed around separating your result handling code from the test case run so you can transparently have subunit style things work with only serialisable information passed across.