mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
[3.11] gh-112890: unittest
Test Discovery page updated "unittest
dropped the namspace packages support" (GH-113195) (GH-113229)
(cherry picked from commit 21d52995ea
)
Co-authored-by: Taylor Packard <3.t.packard@gmail.com>
This commit is contained in:
parent
fbaf00ee57
commit
b0b7fee7cb
1 changed files with 2 additions and 2 deletions
|
@ -340,8 +340,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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue