pytest-rerunfailures/12.0-1 vs pytest/8.2.2-1ubuntu1

Bug #2068778 reported by Chris Peterson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pytest (Ubuntu)
New
Undecided
Unassigned
pytest-rerunfailures (Ubuntu)
New
Undecided
Unassigned

Bug Description

pytest-rerunfailures has a regression due to changes in pytest 8.2.2 where non-function test fixtures (e.g. class, module, etc.) fail to be torn down directly.

It's likely the issue is within pytest-rerunfailures and there's an open issue upstream about it here: https://github.com/pytest-dev/pytest-rerunfailures/issues/267

Although it's definitely possible it's a pytest issue. There's an open issue that may track it there as well: https://github.com/pytest-dev/pytest/issues/12284

Revision history for this message
Chris Peterson (cpete) wrote (last edit ):

It looks like this upstream commit tries to address the issue: https://github.com/pytest-dev/pytest-rerunfailures/commit/0ab54f00d68bb4feadae58d2f4e30f6663495571

but I believe that was for pytest 8.1. The issue still persists in pytest 8.2+ even with the above patch applied.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.