]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-112890: `unittest` Test Discovery page updated "`unittest` dropped the...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 17 Dec 2023 11:20:28 +0000 (12:20 +0100)
committerGitHub <noreply@github.com>
Sun, 17 Dec 2023 11:20:28 +0000 (11:20 +0000)
(cherry picked from commit 21d52995ea490328edf9be3ba072821cd445dd30)

Co-authored-by: Taylor Packard <3.t.packard@gmail.com>
Doc/library/unittest.rst

index 1a3d1d132a1eafaaf8f5dbba70960e0890972fdf..edb5740145480f61c518ea6b0de5b01c162a94d7 100644 (file)
@@ -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.