Lines Matching refs:doctests
135 examples of doctests in the standard Python test suite and libraries.
535 doctests expecting "little integer" output still work in these cases. This
559 .. index:: single: ...; in doctests
696 single: # (hash); in doctests
697 single: + (plus); in doctests
698 single: - (minus); in doctests
760 functions that run doctests, establishing different defaults. In such cases,
881 is an advanced feature that allows parameterization of doctests. For example, a
933 no doctests are found are excluded from consideration. The default is a backward
970 their doctests systematically. :mod:`doctest` provides two functions that can
972 containing doctests. To integrate with :mod:`unittest` test discovery, include
984 from text files and modules with doctests:
1050 The global ``__file__`` is added to the globals provided to doctests loaded
1059 and runs each doctest in the module. If any of the doctests fail, then the
1076 drop-in replacement) that is used to extract doctests from the module.
1119 This is a module-global setting, and affects all future doctests run by module
1317 drop-in replacement) that is used to extract doctests from docstrings.
1356 (recursively) be searched for doctests.
1562 * Several functions convert doctests to executable Python programs, which can be
1621 Functions that convert doctests to Python code, and possibly run the synthesized
1664 object whose doctests are of interest. Argument *name* is the name (within the
1665 module) of the object with the doctests of interest. The result is a string,
1673 prints a script version of function :func:`f`'s docstring, with doctests
1679 Debug the doctests for an object.
1700 Debug the doctests in a string.