Commit 11ac1a82 authored by Robert Collins's avatar Robert Collins

Issue #22812: Fix unittest discovery examples.

Patch from Pam McA'Nulty.
parent 311c8d63
......@@ -286,8 +286,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
are equivalent::
python -m unittest discover -s project_directory -p '*_test.py'
python -m unittest discover project_directory '*_test.py'
python -m unittest discover -s project_directory -p "*_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
``myproject.subpackage.test``, as the start directory. The package name you
......
......@@ -880,6 +880,7 @@ Daniel May
Madison May
Lucas Maystre
Arnaud Mazin
Pam McA'Nulty
Matt McClure
Rebecca McCreary
Kirk McDonald
......
......@@ -34,6 +34,9 @@ Core and Builtins
Library
-------
- Issue #22812: Fix unittest discovery examples.
Patch from Pam McA'Nulty.
- Issue #23652: Make it possible to compile the select module against the
libc headers from the Linux Standard Base, which do not include some
EPOLL macros. Initial patch by Matt Frank.
......
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