summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaylor Packard <3.t.packard@gmail.com>2023-12-17 11:14:21 (GMT)
committerGitHub <noreply@github.com>2023-12-17 11:14:21 (GMT)
commit21d52995ea490328edf9be3ba072821cd445dd30 (patch)
tree5172db431d71ac03413c975c957f6d0b43c8675b
parent48c907a15ceae7202fcfeb435943addff896c42c (diff)
downloadcpython-21d52995ea490328edf9be3ba072821cd445dd30.zip
cpython-21d52995ea490328edf9be3ba072821cd445dd30.tar.gz
cpython-21d52995ea490328edf9be3ba072821cd445dd30.tar.bz2
gh-112890: `unittest` Test Discovery page updated "`unittest` dropped the namspace packages support" (GH-113195)
-rw-r--r--Doc/library/unittest.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index 9aad96b..70b4c84 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -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.