Home
last modified time | relevance | path

Searched refs:extraglobs (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Lib/
Ddoctest.py846 def find(self, obj, name=None, module=None, globs=None, extraglobs=None): argument
933 if extraglobs is not None:
934 globs.update(extraglobs)
1875 report=True, optionflags=0, extraglobs=None, argument
1965 for test in finder.find(m, name, globs=globs, extraglobs=extraglobs):
1980 extraglobs=None, raise_on_error=False, parser=DocTestParser(), argument
2077 if extraglobs is not None:
2078 globs.update(extraglobs)
2349 def DocTestSuite(module=None, globs=None, extraglobs=None, test_finder=None, argument
2390 tests = test_finder.find(module, globs=globs, extraglobs=extraglobs)
/third_party/python/Doc/library/
Ddoctest.rst841 …e, package=None, globs=None, verbose=None, report=True, optionflags=0, extraglobs=None, raise_on_e…
877 Optional argument *extraglobs* gives a dict merged into the globals used to
879 *extraglobs* have a common key, the associated value in *extraglobs* appears in
883 then reused to test any number of subclasses by passing an *extraglobs* dict
911 …None, name=None, globs=None, verbose=None, report=True, optionflags=0, extraglobs=None, raise_on_e…
939 Optional arguments *extraglobs*, *verbose*, *report*, *optionflags*,
1054 .. function:: DocTestSuite(module=None, globs=None, extraglobs=None, test_finder=None, setUp=None, …
1072 Optional argument *extraglobs* specifies an extra set of global variables, which
1329 .. method:: find(obj[, name][, module][, globs][, extraglobs])
1359 *extraglobs* (bindings in *extraglobs* override bindings in *globs*). A new
[all …]