changeset: 97468:e285606efb82 branch: 3.4 parent: 97445:586195685aaf user: Robert Collins date: Mon Aug 24 12:14:28 2015 +1200 files: Doc/library/unittest.rst Misc/ACKS Misc/NEWS description: Issue #22812: Fix unittest discovery examples. Patch from Pam McA'Nulty. diff -r 586195685aaf -r e285606efb82 Doc/library/unittest.rst --- a/Doc/library/unittest.rst Tue Aug 18 14:30:15 2015 -0400 +++ b/Doc/library/unittest.rst Mon Aug 24 12:14:28 2015 +1200 @@ -271,8 +271,8 @@ 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 diff -r 586195685aaf -r e285606efb82 Misc/ACKS --- a/Misc/ACKS Tue Aug 18 14:30:15 2015 -0400 +++ b/Misc/ACKS Mon Aug 24 12:14:28 2015 +1200 @@ -894,6 +894,7 @@ Madison May Lucas Maystre Arnaud Mazin +Pam McA'Nulty Matt McClure Rebecca McCreary Kirk McDonald diff -r 586195685aaf -r e285606efb82 Misc/NEWS --- a/Misc/NEWS Tue Aug 18 14:30:15 2015 -0400 +++ b/Misc/NEWS Mon Aug 24 12:14:28 2015 +1200 @@ -449,6 +449,9 @@ Documentation ------------- +- Issue #22812: Fix unittest discovery examples. + Patch from Pam McA'Nulty. + - Issue #24129: Clarify the reference documentation for name resolution. This includes removing the assumption that readers will be familiar with the name resolution scheme Python used prior to the introduction of lexical