From: Taylor Packard <3.t.packard@gmail.com> Date: Sun, 17 Dec 2023 11:14:21 +0000 (-0500) Subject: gh-112890: `unittest` Test Discovery page updated "`unittest` dropped the namspace... X-Git-Tag: v3.13.0a3~347 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21d52995ea490328edf9be3ba072821cd445dd30;p=thirdparty%2FPython%2Fcpython.git gh-112890: `unittest` Test Discovery page updated "`unittest` dropped the namspace packages support" (GH-113195) --- diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 9aad96bdf11b..70b4c84c05f8 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 ` - support. It has been broken since Python 3.7. Start directory and + :mod:`unittest` dropped the :term:`namespace packages ` + 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.