Home
last modified time | relevance | path

Searched refs:DocTest (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Doc/library/
Ddoctest.rst1050 will be passed a :class:`DocTest` object. The setUp function can access the
1055 function will be passed a :class:`DocTest` object. The setUp function can
1191 * :class:`DocTest`: A collection of :class:`Example`\ s, typically extracted
1198 :class:`DocTestParser` to create a :class:`DocTest` from every docstring that
1201 * :class:`DocTestParser`: Creates a :class:`DocTest` object from a string (such
1204 * :class:`DocTestRunner`: Executes the examples in a :class:`DocTest`, and uses
1215 |module| --DocTestFinder-> | DocTest | --DocTestRunner-> results
1225 DocTest Objects
1229 .. class:: DocTest(examples, globs, name, filename, lineno, docstring)
1236 :class:`DocTest` defines the following attributes. They are initialized by
[all …]
/external/python/cpython2/Lib/
Ddoctest.py499 class DocTest: class
566 if not isinstance(other, DocTest):
671 return DocTest(self.get_examples(string, name), globs,
/external/python/cpython2/Doc/whatsnew/
D2.4.rst1367 # Get list of DocTest instances