cpython: bbe5efa9c667 (original) (raw)
Mercurial > cpython
changeset 82311:bbe5efa9c667
Issue #17203: add long option names to unittest discovery docs. [#17203]
Chris Jerdonek chris.jerdonek@gmail.com | |
---|---|
date | Thu, 21 Feb 2013 19:02:38 -0800 |
parents | c65fcedc511c(current diff)7d1122c79985(diff) |
children | fb50eb64e097 |
files | Misc/NEWS |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-)[+] [-] Doc/library/unittest.rst 6 Misc/NEWS 4 |
line wrap: on
line diff
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -263,15 +263,15 @@ The discover
sub-command has the fol
Verbose output
-.. cmdoption:: -s directory
+.. cmdoption:: -s, --start-directory directory
Directory to start discovery (.
default)
-.. cmdoption:: -p pattern
+.. cmdoption:: -p, --pattern pattern
Pattern to match test files (test*.py
default)
-.. cmdoption:: -t directory
+.. cmdoption:: -t, --top-level-directory directory
Top level directory of project (defaults to start directory)
--- a/Misc/NEWS +++ b/Misc/NEWS @@ -1001,6 +1001,8 @@ Build Documentation ------------- +- Issue #17203: add long option names to unittest discovery docs. +
- Issue #13094: add "Why do lambdas defined in a loop with different values all return the same result?" programming FAQ. @@ -1064,7 +1066,7 @@ Documentation Tools/Demos ----------- -- Issue #17028: Allowed Python arguments to be supplied to the Windows +- Issue #17028: Allowed Python arguments to be supplied to the Windows launcher.
- Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py. Now