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

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

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:

Although it's definitely possible it's a pytest issue. There's an open issue that may track it there as well:

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

It looks like this upstream commit tries to address the issue:

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.