pytest/testing/code
Peter Gessler 7e93d83df3
Fix `ExceptionGroup` traceback filtering of pytest internals (#13380)
* init

* + author

* fix

* Simplify the code a bit

* Small refactor

* Import functions from `traceback` directly, to allow free use of `traceback` as a variable name.
* Extract `_filtered_traceback` into a function.
* Inline `_repr_exception_group_traceback` given it is used only in one place.
* Make a type alias for the type of `tbfilter`.

* action rerun

* + comment

* fix docs

* Revert "fix docs"

This reverts commit fc505cbaec.

* fix

---------

Co-authored-by: Bruno Oliveira <bruno@pytest.org>
2025-04-19 14:34:09 -07:00
..
test_code.py RFC: from __future__ import annotations + migrate 2024-06-20 11:03:03 +02:00
test_excinfo.py Fix `ExceptionGroup` traceback filtering of pytest internals (#13380) 2025-04-19 14:34:09 -07:00
test_source.py [pre-commit.ci] pre-commit autoupdate (#13306) 2025-03-21 13:31:58 +01:00