Open
Description
When you fail a doctest test, the current line is printed. If you reuse a function between tests, it's harder to know which test is failing.
It looks like doctest throws a TestFailureException
which is an empty class.
We could add a constructor to this class which calls libunwind
if it's compiled in and prints a runtime stack trace.