apache / libcloud

Apache Libcloud is a Python library which hides differences between different cloud provider APIs and allows you to manage different cloud resources through a unified and easy to use API.
https://libcloud.apache.org
Apache License 2.0
2.03k stars 928 forks source link

Mark MockHttp as not for collection by pytest #2014

Open s-t-e-v-e-n-k opened 1 month ago

s-t-e-v-e-n-k commented 1 month ago

Mark MockHttp as not for collection by pytest

Description

pytest 8.2.0 contains a regression that will collect non-test classes, so as to be explicit about it, mark MockHttp (and therefore all of its children classes) as not to be collected.

pytest regression has been filed upstream as https://github.com/pytest-dev/pytest/issues/12425.

After this merges, pdm can upgrade pytest to 8.2.x.

Status

Done, ready for review.

Checklist (tick everything that applies)