2 ms·
An alternative is to reuse pytest version: exc_info = ExceptionInfo.from_current() print(exc_info.getrepr(style="long", showlocals=True))
by vbernat 6y ago
An alternative is to reuse pytest version:
exc_info = ExceptionInfo.from_current()
print(exc_info.getrepr(style="long", showlocals=True))