mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Start rewriting doctest's LaTeX docs. Damn, this is slow going!
This commit is contained in:
parent
6a4e635beb
commit
c2388a2b9c
2 changed files with 148 additions and 29 deletions
|
@ -1610,7 +1610,7 @@ def testmod(m=None, name=None, globs=None, verbose=None, isprivate=None,
|
|||
are not skipped.
|
||||
|
||||
Also test examples reachable from dict m.__test__ if it exists and is
|
||||
not None. m.__dict__ maps names to functions, classes and strings;
|
||||
not None. m.__test__ maps names to functions, classes and strings;
|
||||
function and class docstrings are tested even if the name is private;
|
||||
strings are tested directly, as if they were docstrings.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue