Documentation
The documentation for unittest Test Discovery says: "Changed in version 3.11: Python 3.11 dropped the namespace packages support. It has been broken since Python 3.7. Start directory and subdirectories containing tests must be regular package that have init.py file."
I believe the most straightforward interpretation of this statement is that Python, as a whole, has dropped namespace packages, which I believe is false. I think the intended interpretation is "Changed in version 3.11: unittest dropped the namespace packages support in Python 3.11. It has been broken since Python 3.7. Start directory and subdirectories containing tests must be regular package that have init.py file.
Linked PRs