Home
last modified time | relevance | path

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

/external/python/cpython3/Doc/library/
Ddoctest.rst1024 will be passed a :class:`DocTest` object. The setUp function can access the
1029 function will be passed a :class:`DocTest` object. The setUp function can
1148 * :class:`DocTest`: A collection of :class:`Example`\ s, typically extracted
1155 :class:`DocTestParser` to create a :class:`DocTest` from every docstring that
1158 * :class:`DocTestParser`: Creates a :class:`DocTest` object from a string (such
1161 * :class:`DocTestRunner`: Executes the examples in a :class:`DocTest`, and uses
1172 |module| --DocTestFinder-> | DocTest | --DocTestRunner-> results
1182 DocTest Objects
1186 .. class:: DocTest(examples, globs, name, filename, lineno, docstring)
1192 :class:`DocTest` defines the following attributes. They are initialized by
[all …]
/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
1192 * :class:`DocTest`: A collection of :class:`Example`\ s, typically extracted
1199 :class:`DocTestParser` to create a :class:`DocTest` from every docstring that
1202 * :class:`DocTestParser`: Creates a :class:`DocTest` object from a string (such
1205 * :class:`DocTestRunner`: Executes the examples in a :class:`DocTest`, and uses
1216 |module| --DocTestFinder-> | DocTest | --DocTestRunner-> results
1226 DocTest Objects
1230 .. class:: DocTest(examples, globs, name, filename, lineno, docstring)
1237 :class:`DocTest` defines the following attributes. They are initialized by
[all …]
/external/python/cpython3/Lib/
Ddoctest.py497 class DocTest: class
562 if not isinstance(other, DocTest):
668 return DocTest(self.get_examples(string, name), globs,
/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
/external/python/cpython3/Doc/whatsnew/
D2.4.rst1367 # Get list of DocTest instances