diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index f79b0ead1e3..29ae1f933e3 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -1874,10 +1874,10 @@ name then the package :file:`__init__.py` will be checked for ``load_tests``. .. note:: - The default pattern is 'test*.py'. This matches all Python files - that start with 'test' but *won't* match any test directories. + The default pattern is ``'test*.py'``. This matches all Python files + that start with ``'test'`` but *won't* match any test directories. - A pattern like 'test*' will match test packages as well as + A pattern like ``'test*'`` will match test packages as well as modules. If the package :file:`__init__.py` defines ``load_tests`` then it will be