Explore leveraging pytest's `--tb=native` command line option
joshuadavidthomas opened this issue · comments
Josh Thomas commented
A custom rich console renderer was implemented because Rich's builtin Traceback
requires a traceback object which pytest's test reports don't provide.
However, if you run with the command line option --tb=native
, the actual traceback is printed, so I wonder if it would be worth it see if we could leverage that to be able to use the builtin Traceback
instead of maintaining a custom version.
Bhavani Ravi commented
Is it possible to create a custom Traceback class from whatever pytest provides?