[Python-checkins] cpython (merge 3.3 -> default): Issue #17203: add long option names to unittest discovery docs.

chris.jerdonek python-checkins at python.org
Fri Feb 22 04:04:58 CET 2013


http://hg.python.org/cpython/rev/bbe5efa9c667
changeset: 82311:bbe5efa9c667
parent: 82307:c65fcedc511c
parent: 82310:7d1122c79985
user: Chris Jerdonek <chris.jerdonek at gmail.com>
date: Thu Feb 21 19:02:38 2013 -0800
summary:
 Issue #17203: add long option names to unittest discovery docs.
files:
 Doc/library/unittest.rst | 6 +++---
 Misc/NEWS | 4 +++-
 2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -263,15 +263,15 @@
 
 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)
 
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1001,6 +1001,8 @@
 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 @@
 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
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /