pytest-asyncio makes pytest collect modules not matching python_files
, causing ModuleNotFoundError
#738
Milestone
python_files
, causing ModuleNotFoundError
#738
I've noticed this while running bcrypt's test suite. Normally, pytest only collects files matching
python_files
option, i.e.test_*.py
. However, ifpytest-asyncio
is installed, it seems to attempt to collect all*.py
files, effectively causingModuleNotFoundError
s if some modules aren't found, e.g.:To reproduce:
The text was updated successfully, but these errors were encountered: