• Home
  • Raw
  • Download

Lines Matching refs:DocTest

1050    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
1257 A string name identifying the :class:`DocTest`. Typically, this is the name
1263 The name of the file that this :class:`DocTest` was extracted from; or
1264 ``None`` if the filename is unknown, or if the :class:`DocTest` was not
1270 The line number within :attr:`filename` where this :class:`DocTest` begins, or
1352 A processing class used to extract the :class:`DocTest`\ s that are relevant to
1354 :class:`DocTest`\ s can currently be extracted from the following object types:
1377 Return a list of the :class:`DocTest`\ s that are defined by *obj*'s
1381 used to construct names for the returned :class:`DocTest`\ s. If *name* is
1404 The globals for each :class:`DocTest` is formed by combining *globs* and
1406 shallow copy of the globals dictionary is created for each :class:`DocTest`.
1421 them to create a :class:`DocTest` object.
1431 :class:`DocTest` object.
1434 :class:`DocTest` object. See the documentation for :class:`DocTest` for more
1462 :class:`DocTest`.
1544 Run the examples in *test* (a :class:`DocTest` object), and display the
1810 The :class:`DocTest` object that was being run when the example failed.
1834 The :class:`DocTest` object that was being run when the example failed.