Hacker News new | ask | show | jobs
by jeremya 3237 days ago
Yes, you can alter the way tracebacks are printed (or not printed) for test failures:

https://docs.pytest.org/en/latest/usage.html#modifying-pytho...

1 comments

Thanks! --tb=native combined with --color=no makes it almost bearable.

It still annoys me that

  ==================================================================================== FAILURES =====================================================================================
takes the whole screen width. I can pipe stdout through "cat" to fix it, but it's not very convenient.
Try -q