cpython: 8520e0ff8e36 (original) (raw)
Mercurial > cpython
changeset 89587:8520e0ff8e36
whatsnew: doctest finds tests in extension modules (#3158) #19861 msg213159 [#3158]
R David Murray rdmurray@bitdance.com | |
---|---|
date | Tue, 11 Mar 2014 15:10:53 -0400 |
parents | e47646fca428 |
children | 0d230ad6b51a |
files | Doc/whatsnew/3.4.rst |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-)[+] [-] Doc/whatsnew/3.4.rst 8 |
line wrap: on
line diff
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -745,6 +745,9 @@ new options, -o
and -f
. -o
shorthand for -o FAIL_FAST
(to parallel the similar option supported by the
:mod:unittest
CLI). (Contributed by R. David Murray in :issue:11390
.)
+:mod:doctest
will now find doctests in extension module __doc__
strings.
+(Contributed by Zachary Ware in :issue:3158
.)
+
email
-----
@@ -2398,6 +2401,11 @@ Changes in the Python API
will matter only if you have tests that are doing white-space-sensitive
comparisons of such output (:issue:16333
).
+* :mod:doctest
now looks for doctests in extension module __doc__