Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 21d5299

Browse files
authored
gh-112890: unittest Test Discovery page updated "unittest dropped the namspace packages support" (GH-113195)
1 parent 48c907a commit 21d5299

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
@@ -346,8 +346,8 @@ the `load_tests protocol`_.
346346
``python -m unittest discover -s root/namespace -t root``).
347347

348348
.. versionchanged:: 3.11
349-
Python 3.11 dropped the :term:`namespace packages <namespace package>`
350-
support. It has been broken since Python 3.7. Start directory and
349+
:mod:`unittest` dropped the :term:`namespace packages <namespace package>`
350+
support in Python 3.11. It has been broken since Python 3.7. Start directory and
351351
subdirectories containing tests must be regular package that have
352352
``__init__.py`` file.
353353

0 commit comments

Comments
 (0)