3 ms·
Yes, you can alter the way tracebacks are printed (or not printed) for test failures: https://docs.pytest.org/en/latest/usage.html#modifying-python-traceback-p
by jeremya 9y 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-python-traceback-printing https://docs.pytest.org/en/latest/usage.html#modifying-pytho...
- jwilk 9y agoThanks! --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.
- variedthoughts 9y agoTry -q