diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 1a3d1d132a1..edb57401454 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -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 ` - 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.