gh-112890: unittest Test Discovery page updated "unittest dropped the namspace packages support" (GH-113195)

This commit is contained in:
Taylor Packard 2023-12-17 06:14:21 -05:00 committed by GitHub
parent 48c907a15c
commit 21d52995ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -346,8 +346,8 @@ the `load_tests protocol`_.
``python -m unittest discover -s root/namespace -t root``).
.. versionchanged:: 3.11
Python 3.11 dropped the :term:`namespace packages <namespace package>`
support. It has been broken since Python 3.7. Start directory and
:mod:`unittest` dropped the :term:`namespace packages <namespace package>`
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.