Commit a2b00553 authored by Robert Collins's avatar Robert Collins

Issue #22812: Fix unittest discovery examples.

Patch from Pam McA'Nulty.
parent ab7cc759
...@@ -271,8 +271,8 @@ The :option:`-s`, :option:`-p`, and :option:`-t` options can be passed in ...@@ -271,8 +271,8 @@ The :option:`-s`, :option:`-p`, and :option:`-t` options can be passed in
as positional arguments in that order. The following two command lines as positional arguments in that order. The following two command lines
are equivalent:: are equivalent::
python -m unittest discover -s project_directory -p '*_test.py' python -m unittest discover -s project_directory -p "*_test.py"
python -m unittest discover project_directory '*_test.py' python -m unittest discover project_directory "*_test.py"
As well as being a path it is possible to pass a package name, for example As well as being a path it is possible to pass a package name, for example
``myproject.subpackage.test``, as the start directory. The package name you ``myproject.subpackage.test``, as the start directory. The package name you
......
...@@ -894,6 +894,7 @@ Daniel May ...@@ -894,6 +894,7 @@ Daniel May
Madison May Madison May
Lucas Maystre Lucas Maystre
Arnaud Mazin Arnaud Mazin
Pam McA'Nulty
Matt McClure Matt McClure
Rebecca McCreary Rebecca McCreary
Kirk McDonald Kirk McDonald
......
...@@ -449,6 +449,9 @@ C API ...@@ -449,6 +449,9 @@ C API
Documentation Documentation
------------- -------------
- Issue #22812: Fix unittest discovery examples.
Patch from Pam McA'Nulty.
- Issue #24129: Clarify the reference documentation for name resolution. - Issue #24129: Clarify the reference documentation for name resolution.
This includes removing the assumption that readers will be familiar with the This includes removing the assumption that readers will be familiar with the
name resolution scheme Python used prior to the introduction of lexical name resolution scheme Python used prior to the introduction of lexical
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment