File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -745,6 +745,9 @@ new options, ``-o`` and ``-f``. ``-o`` allows :ref:`doctest options
745745shorthand for ``-o FAIL_FAST `` (to parallel the similar option supported by the
746746:mod: `unittest ` CLI). (Contributed by R. David Murray in :issue: `11390 `.)
747747
748+ :mod: `doctest ` will now find doctests in extension module ``__doc__ `` strings.
749+ (Contributed by Zachary Ware in :issue: `3158 `.)
750+
748751
749752email
750753-----
@@ -2398,6 +2401,11 @@ Changes in the Python API
23982401 will matter only if you have tests that are doing white-space-sensitive
23992402 comparisons of such output (:issue: `16333 `).
24002403
2404+ * :mod: `doctest ` now looks for doctests in extension module ``__doc__ ``
2405+ strings, so if your doctest test discovery includes extension modules that
2406+ have things that look like doctests in them you may see test failures you've
2407+ never seen before when running your tests (:issue: `3158 `).
2408+
24012409
24022410Changes in the C API
24032411--------------------
You can’t perform that action at this time.
0 commit comments