python unittest: how to get colored tracebacks like in IPython

1k views Asked by At

In IPython (see 1) exception traceback printouts are much easier to understand due to human-friendly coloring and spacing.

However if I run a script containing unittests (using the unittest module of the standard library) I get the normal monochrome traceback printouts like in the standard python shell.

Q: How to combine the traceback formatting of IPython with the output of unittest module?

0

There are 0 answers