Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e787c9c

Browse files
committed
Issue #17203: add long option names to unittest discovery docs.
2 parents 8a268b9 + 8c0bbfd commit e787c9c

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

Doc/library/unittest.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,15 +263,15 @@ The ``discover`` sub-command has the following options:
263263

264264
Verbose output
265265

266-
.. cmdoption:: -s directory
266+
.. cmdoption:: -s, --start-directory directory
267267

268268
Directory to start discovery (``.`` default)
269269

270-
.. cmdoption:: -p pattern
270+
.. cmdoption:: -p, --pattern pattern
271271

272272
Pattern to match test files (``test*.py`` default)
273273

274-
.. cmdoption:: -t directory
274+
.. cmdoption:: -t, --top-level-directory directory
275275

276276
Top level directory of project (defaults to start directory)
277277

Misc/NEWS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,6 +1001,8 @@ Build
10011001
Documentation
10021002
-------------
10031003

1004+
- Issue #17203: add long option names to unittest discovery docs.
1005+
10041006
- Issue #13094: add "Why do lambdas defined in a loop with different values
10051007
all return the same result?" programming FAQ.
10061008

@@ -1064,7 +1066,7 @@ Documentation
10641066
Tools/Demos
10651067
-----------
10661068

1067-
- Issue #17028: Allowed Python arguments to be supplied to the Windows
1069+
- Issue #17028: Allowed Python arguments to be supplied to the Windows
10681070
launcher.
10691071

10701072
- Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py. Now

0 commit comments

Comments
 (0)