Closed ocervell closed 3 years ago
I wouldn't be opposed to such a feature. If you would like to give it a shot and make a pull request, I would be happy to review it.
You would probably only need to change config.py
and result.py
and add tests to test/test_config.py
and test/test_result.py
Just searching for occurrences of no_tracebacks
and doing the same thing with a new option in config.py
should be enough to get a new option plumbed in, and then you would need to customize the output logic in result.py
.
Closing due to lack of activity. I'd be happy to review a PR if someone wanted to give this a try, or reopen this issue if there is more to discuss. Otherwise, I'll consider the popular demand for this feature too low to bother with.
Seems that adding
-e
also suppress the exception name and cause. It would be great to keep them while supressing the tracebackExample with Arpeggio library:
Running with
-e
disables everything, but keeping just the last line would be super helpful (the traceback is pretty useless):