Closed
Description
Starting with the release of pytest 7.2, the distutils tests started failing (pypa/distutils#186).
I read the changelog for 7.2, but I don't see anything relevant.
The issue is likely due to some of these factors:
- the test class is a subclass of another class
- both classes are marked with
usefixtures
- The fixture on the subclass is reliant on the prior execution of the fixture in the parent class.
See the upstream bug for:
- a detailed description of the bug or problem you are having
- output of
pip list
from the virtual environment you are using - pytest and operating system versions
For consideration:
- minimal example if possible
I haven't put together a minimal example yet as I'm still triaging the issue. Is there a known change with pytest 7.2 that was expected to change this behavior?