Lines Matching refs:doctests
137 examples of doctests in the standard Python test suite and libraries.
537 doctests expecting "little integer" output still work in these cases. This
561 .. index:: single: ...; in doctests
698 single: # (hash); in doctests
699 single: + (plus); in doctests
700 single: - (minus); in doctests
762 functions that run doctests, establishing different defaults. In such cases,
879 is an advanced feature that allows parameterization of doctests. For example, a
931 no doctests are found are excluded from consideration. The default is a backward
968 their doctests systematically. :mod:`doctest` provides two functions that can
970 containing doctests. To integrate with :mod:`unittest` test discovery, include
982 from text files and modules with doctests:
1048 The global ``__file__`` is added to the globals provided to doctests loaded
1057 and runs each doctest in the module. If any of the doctests fail, then the
1074 drop-in replacement) that is used to extract doctests from the module.
1117 This is a module-global setting, and affects all future doctests run by module
1315 drop-in replacement) that is used to extract doctests from docstrings.
1354 (recursively) be searched for doctests.
1560 * Several functions convert doctests to executable Python programs, which can be
1619 Functions that convert doctests to Python code, and possibly run the synthesized
1662 object whose doctests are of interest. Argument *name* is the name (within the
1663 module) of the object with the doctests of interest. The result is a string,
1671 prints a script version of function :func:`f`'s docstring, with doctests
1677 Debug the doctests for an object.
1698 Debug the doctests in a string.