When there is a problem in the Python code that crashes the interpeter, like
def test_something():
/boom # syntax error
you get the following colored output:

Depending on the light from the environment, this is hard to impossible to read.
OS: Fedora 30, python package versions etc are in the schreenshot.