Skip to content

Commit

Permalink
gh-112890: unittest Test Discovery page updated "unittest dropped…
Browse files Browse the repository at this point in the history
… the namspace packages support" (GH-113195)
  • Loading branch information
tpackard1 committed Dec 17, 2023
1 parent 48c907a commit 21d5299
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/unittest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 21d5299

Please sign in to comment.