changeset: 97469:875a851b9d5a branch: 3.5 parent: 97460:738de9a9a3ea parent: 97468:e285606efb82 user: Robert Collins date: Mon Aug 24 12:15:05 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 738de9a9a3ea -r 875a851b9d5a Doc/library/unittest.rst --- a/Doc/library/unittest.rst Thu Aug 20 11:13:09 2015 +1200 +++ b/Doc/library/unittest.rst Mon Aug 24 12:15:05 2015 +1200 @@ -278,8 +278,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 738de9a9a3ea -r 875a851b9d5a Misc/ACKS --- a/Misc/ACKS Thu Aug 20 11:13:09 2015 +1200 +++ b/Misc/ACKS Mon Aug 24 12:15:05 2015 +1200 @@ -920,6 +920,7 @@ Madison May Lucas Maystre Arnaud Mazin +Pam McA'Nulty Matt McClure Jack McCracken Rebecca McCreary diff -r 738de9a9a3ea -r 875a851b9d5a Misc/NEWS --- a/Misc/NEWS Thu Aug 20 11:13:09 2015 +1200 +++ b/Misc/NEWS Mon Aug 24 12:15:05 2015 +1200 @@ -29,6 +29,9 @@ Documentation ------------- +- Issue #22812: Fix unittest discovery examples. + Patch from Pam McA'Nulty. + What's New in Python 3.5.0 release candidate 2? ===============================================