diff --git a/changelog/12204.bugfix.rst b/changelog/12204.bugfix.rst index 9690f513a..099ad7061 100644 --- a/changelog/12204.bugfix.rst +++ b/changelog/12204.bugfix.rst @@ -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``. diff --git a/changelog/12264.bugfix.rst b/changelog/12264.bugfix.rst new file mode 120000 index 000000000..e5704e6e8 --- /dev/null +++ b/changelog/12264.bugfix.rst @@ -0,0 +1 @@ +12204.bugfix.rst \ No newline at end of file