pytest 8.2.0 regresses collection and now collects non-Test* classes #12425
Labels
stale
status: needs information
reporter needs to provide more information; can be closed after 2 or more weeks of inactivity
Discovered while testing libcloud with pytest 8.2.0, as seen in https://github.com/apache/libcloud/blob/trunk/libcloud/test/__init__.py#L90 the MockHttp class is also collected and attempted to be instantiated, leading to collection errors like the following:
I bisected this down to first occurring with 1a5e0eb (sixth commit or so of 8.2.0)
pip list output:
pip list
from the virtual environment you are usingThe text was updated successfully, but these errors were encountered: