Skip to content

Commit b0b7fee

Browse files
[3.11] gh-112890: unittest Test Discovery page updated "unittest dropped the namspace packages support" (GH-113195) (GH-113229)
(cherry picked from commit 21d5299) Co-authored-by: Taylor Packard <[email protected]>
1 parent fbaf00e commit b0b7fee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/unittest.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,8 @@ the `load_tests protocol`_.
340340
``python -m unittest discover -s root/namespace -t root``).
341341

342342
.. versionchanged:: 3.11
343-
Python 3.11 dropped the :term:`namespace packages <namespace package>`
344-
support. It has been broken since Python 3.7. Start directory and
343+
:mod:`unittest` dropped the :term:`namespace packages <namespace package>`
344+
support in Python 3.11. It has been broken since Python 3.7. Start directory and
345345
subdirectories containing tests must be regular package that have
346346
``__init__.py`` file.
347347

0 commit comments

Comments
 (0)