Closed rciorba closed 3 years ago
Thanks for your contribution!
Your analysis of the issue is spot-on. However, for the fix I decided to simply drop the traceback
entry from the report if we failed to extract the necessary information. Using the string representation from e.g. ReprEntryNative.lines
would just duplicate what we provide via longrepr
anyway (that is, a textual error representation).
Also, I generalized the fix to catch all different possible --tb
values.
Hello and thanks for this supper useful plugin!
The plugin crashes if used together with
--tb=native
Essentially this is because pytest's
ReprEntryNative
andReprEntry
classes don't have the same interface.Here's an sample traceback: