-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12563 from webknjaz/maintenance/hotfixes/note/122…
…64--reraise-with-original-tb 📝🚑 Polish the PR #12264 changelog entry
- Loading branch information
Showing
2 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
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. | ||
Fixed 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 -- by :user:`bluetech`. | ||
|
||
Also fix a similar regression in pytest 5.4 for collectors which raise during setup. | ||
Also fixed a similar regression in pytest 5.4 for collectors which raise during setup. | ||
|
||
The fix necessitated internal changes which may affect some plugins: | ||
- ``FixtureDef.cached_result[2]`` is now a tuple ``(exc, tb)`` instead of ``exc``. | ||
- ``SetupState.stack`` failures are now a tuple ``(exc, tb)`` instead of ``exc``. | ||
|
||
* ``FixtureDef.cached_result[2]`` is now a tuple ``(exc, tb)`` | ||
instead of ``exc``. | ||
* ``SetupState.stack`` failures are now a tuple ``(exc, tb)`` | ||
instead of ``exc``. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
12204.bugfix.rst |