pytest2/testing/code
Ran Benita cc23ec91d0 code: stop storing weakref to ExceptionInfo on Traceback and TracebackEntry
TracebackEntry needs the excinfo for the `__tracebackhide__ = callback`
functionality, where `callback` accepts the excinfo.

Currently it achieves this by storing a weakref to the excinfo which
created it. I think this is not great, mixing layers and bloating the
objects.

Instead, have `ishidden` (and transitively, `Traceback.filter()`) take
the excinfo as a parameter.
2023-04-28 11:47:45 +03:00
..
test_code.py code: simplify Code construction 2020-10-31 12:40:25 +02:00
test_excinfo.py code: stop storing weakref to ExceptionInfo on Traceback and TracebackEntry 2023-04-28 11:47:45 +03:00
test_source.py Add autoflake to pre-commit configuration (#9666) 2022-02-11 14:34:02 -03:00