[issue45864] unittest does not discover tests in PEP420 packages

2021-11-22 Thread Adam Johnson
Change by Adam Johnson : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue45864] unittest does not discover tests in PEP420 packages

2021-11-22 Thread Adam Johnson
Adam Johnson added the comment: It's exactly that ticket. I missed that when searching for duplicates - I only searched for "pep420" and not "namespace packages". Mea culpa. -- resolution: -> duplicate ___ Python tracker

[issue45864] unittest does not discover tests in PEP420 packages

2021-11-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be similar to https://bugs.python.org/issue23882 -- nosy: +methane, xtreak ___ Python tracker ___ ___

[issue45864] unittest does not discover tests in PEP420 packages

2021-11-22 Thread Adam Johnson
New submission from Adam Johnson : unittest's test discovery does not descend into directories without `__init__.py`. This avoids discovering test modules that are otherwise valid and importable, after PEP 420. I've seen this more than once where there were valid looking test files not being