diff options
| author | Robert Collins <rbtcollins@hp.com> | 2015-08-24 12:15:05 +1200 |
|---|---|---|
| committer | Robert Collins <rbtcollins@hp.com> | 2015-08-24 12:15:05 +1200 |
| commit | 478eadc5f321272d6dc5eacb1e2710bbe59103fa (patch) | |
| tree | 4fd1c63fc4f35d0ae8521ef42b16b5aad01aadbe | |
| parent | be6caca534a6d35ccae6fe13c15eead76b721e1d (diff) | |
| parent | a2b005539687789774f52507bda4d0cecaddb583 (diff) | |
| download | cpython-git-478eadc5f321272d6dc5eacb1e2710bbe59103fa.tar.gz | |
Issue #22812: Fix unittest discovery examples.
Patch from Pam McA'Nulty.
| -rw-r--r-- | Doc/library/unittest.rst | 4 | ||||
| -rw-r--r-- | Misc/ACKS | 1 | ||||
| -rw-r--r-- | Misc/NEWS | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 508570314f..1153f834ea 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -278,8 +278,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 @@ -920,6 +920,7 @@ Daniel May Madison May Lucas Maystre Arnaud Mazin +Pam McA'Nulty Matt McClure Jack McCracken Rebecca McCreary @@ -29,6 +29,9 @@ Library Documentation ------------- +- Issue #22812: Fix unittest discovery examples. + Patch from Pam McA'Nulty. + What's New in Python 3.5.0 release candidate 2? =============================================== |
