When multiple fixture finalizers raise, only first exception is reported #12047
Labels
topic: fixtures
anything involving fixtures directly or indirectly
topic: reporting
related to terminal output and user-facing messages and errors
As mentioned in the XXX comment here:
pytest/src/_pytest/fixtures.py
Lines 1019 to 1032 in 6ed0051
This means information on the extra errors that occurred is not reported, which should never happen ideally.
We should instead raise an exception group in this case, like we do for nodes since pytest 7.3 (#10226).
The text was updated successfully, but these errors were encountered: