Skip to content

Commit ac41898

Browse files
authored
Merge pull request #12563 from webknjaz/maintenance/hotfixes/note/12264--reraise-with-original-tb
📝🚑 Polish the PR #12264 changelog entry
2 parents 07ed62a + b62974e commit ac41898

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

changelog/12204.bugfix.rst

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
Fix a regression in pytest 8.0 where tracebacks get longer and longer when multiple tests fail due to a shared higher-scope fixture which raised.
1+
Fixed a regression in pytest 8.0 where tracebacks get longer and longer when multiple
2+
tests fail due to a shared higher-scope fixture which raised -- by :user:`bluetech`.
23

3-
Also fix a similar regression in pytest 5.4 for collectors which raise during setup.
4+
Also fixed a similar regression in pytest 5.4 for collectors which raise during setup.
45

56
The fix necessitated internal changes which may affect some plugins:
6-
- ``FixtureDef.cached_result[2]`` is now a tuple ``(exc, tb)`` instead of ``exc``.
7-
- ``SetupState.stack`` failures are now a tuple ``(exc, tb)`` instead of ``exc``.
7+
8+
* ``FixtureDef.cached_result[2]`` is now a tuple ``(exc, tb)``
9+
instead of ``exc``.
10+
* ``SetupState.stack`` failures are now a tuple ``(exc, tb)``
11+
instead of ``exc``.

changelog/12264.bugfix.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
12204.bugfix.rst

0 commit comments

Comments
 (0)