]> granicus.if.org Git - python/commitdiff
Issue #22812: Fix unittest discovery examples.
authorRobert Collins <rbtcollins@hp.com>
Mon, 24 Aug 2015 00:06:18 +0000 (12:06 +1200)
committerRobert Collins <rbtcollins@hp.com>
Mon, 24 Aug 2015 00:06:18 +0000 (12:06 +1200)
Patch from Pam McA'Nulty.

Doc/library/unittest.rst
Misc/ACKS
Misc/NEWS

index a082200b2379369c3ebbee57871829f13ed10f27..41478f3ca04b8f048fa245145991217e360dcf78 100644 (file)
@@ -286,8 +286,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
index 12d96748ae6c6870bfb004d47a3c111ec5bfe7aa..eea8a32054fd1f5dc998177f9070a9f986322e1a 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -880,6 +880,7 @@ Daniel May
 Madison May
 Lucas Maystre
 Arnaud Mazin
+Pam McA'Nulty
 Matt McClure
 Rebecca McCreary
 Kirk McDonald
index 76e02269777b6b66de77faecdcec599e6f4e283d..7814de8e1fc9cdfafc9431236dfe0be92d040369 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -34,6 +34,9 @@ Core and Builtins
 Library
 -------
 
+- Issue #22812: Fix unittest discovery examples.
+  Patch from Pam McA'Nulty.
+
 - Issue #23652: Make it possible to compile the select module against the
   libc headers from the Linux Standard Base, which do not include some
   EPOLL macros.  Initial patch by Matt Frank.