Home
last modified time | relevance | path

Searched refs:optionflags (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython3/Lib/
Ddoctest.py1180 def __init__(self, checker=None, verbose=None, optionflags=0): argument
1201 self.optionflags = optionflags
1202 self.original_optionflags = optionflags
1242 self._checker.output_difference(example, got, self.optionflags))
1286 original_optionflags = self.optionflags
1297 quiet = (self.optionflags & REPORT_ONLY_FIRST_FAILURE and
1301 self.optionflags = original_optionflags
1305 self.optionflags |= optionflag
1307 self.optionflags &= ~optionflag
1310 if self.optionflags & SKIP:
[all …]
/external/python/cpython2/Lib/
Ddoctest.py1166 def __init__(self, checker=None, verbose=None, optionflags=0): argument
1187 self.optionflags = optionflags
1188 self.original_optionflags = optionflags
1228 self._checker.output_difference(example, got, self.optionflags))
1272 original_optionflags = self.optionflags
1283 quiet = (self.optionflags & REPORT_ONLY_FIRST_FAILURE and
1287 self.optionflags = original_optionflags
1291 self.optionflags |= optionflag
1293 self.optionflags &= ~optionflag
1296 if self.optionflags & SKIP:
[all …]
/external/fonttools/Lib/fontTools/misc/
DclassifyTools.py173 sys.exit(doctest.testmod(optionflags=doctest.ELLIPSIS).failed)
DloggingTools.py596 sys.exit(doctest.testmod(optionflags=doctest.ELLIPSIS).failed)
/external/python/cpython2/Doc/library/
Ddoctest.rst846 …[, module_relative][, name][, package][, globs][, verbose][, report][, optionflags][, extraglobs][…
899 Optional argument *optionflags* or's together option flags. See section
920 .. function:: testmod([m][, name][, globs][, verbose][, report][, optionflags][, extraglobs][, rais…
948 Optional arguments *extraglobs*, *verbose*, *report*, *optionflags*,
953 The parameter *optionflags* was added.
962 .. function:: run_docstring_examples(f, globs[, verbose][, name][, compileflags][, optionflags])
979 Optional argument *optionflags* works as for function :func:`testfile` above.
1011 …e(*paths, [module_relative][, package][, setUp][, tearDown][, globs][, optionflags][, parser][, en…
1062 Optional argument *optionflags* specifies the default doctest options for the
1118 Optional arguments *setUp*, *tearDown*, and *optionflags* are the same as for
[all …]
/external/python/cpython2/Lib/test/
Dtest_doctest.py1099 def optionflags(): r""" member in test_DocTestRunner
Dtest_zipimport_support.py163 test_zipped_doctest.test_DocTestRunner.optionflags,
/external/python/cpython3/Doc/library/
Ddoctest.rst839 …=True, name=None, package=None, globs=None, verbose=None, report=True, optionflags=0, extraglobs=N…
892 Optional argument *optionflags* (default value 0) takes the
909 .. function:: testmod(m=None, name=None, globs=None, verbose=None, report=True, optionflags=0, extr…
937 Optional arguments *extraglobs*, *verbose*, *report*, *optionflags*,
942 …:: run_docstring_examples(f, globs, verbose=False, name="NoName", compileflags=None, optionflags=0)
959 Optional argument *optionflags* works as for function :func:`testfile` above.
985 …le_relative=True, package=None, setUp=None, tearDown=None, globs=None, optionflags=0, parser=DocTe…
1036 Optional argument *optionflags* specifies the default doctest options for the
1076 Optional arguments *setUp*, *tearDown*, and *optionflags* are the same as for
1295 :class:`DocTestRunner`'s :attr:`optionflags`). By default, no options are set.
[all …]
Dtest.rst487 .. function:: run_doctest(module, verbosity=None, optionflags=0)
494 ``None``. *optionflags* is passed as ``optionflags`` to
/external/python/cpython3/Lib/test/
Dtest_doctest.py1154 def optionflags(): r""" member in test_DocTestRunner
Dtest_zipimport_support.py165 test_zipped_doctest.test_DocTestRunner.optionflags,
Dtest_statistics.py674 failed, tried = doctest.testmod(statistics, optionflags=doctest.ELLIPSIS)
Dtest_decimal.py5684 run_doctest(C, verbose, optionflags=IGNORE_EXCEPTION_DETAIL)
/external/autotest/client/site_tests/kernel_CheckArmErrata/
Dkernel_CheckArmErrata.py439 inspect.getmodule(self), optionflags=doctest.ELLIPSIS)
/external/python/cpython3/Lib/test/support/
D__init__.py2020 def run_doctest(module, verbosity=None, optionflags=0): argument
2035 f, t = doctest.testmod(module, verbose=verbosity, optionflags=optionflags)
/external/brotli/research/
Dbrotlidump.py2360 doctest.testmod(optionflags=doctest.REPORT_NDIFF
/external/python/cpython2/Misc/
DHISTORY4058 constant DONT_ACCEPT_TRUE_FOR_1 to the new optionflags optional
/external/python/cpython3/Misc/
DHISTORY21442 constant DONT_ACCEPT_TRUE_FOR_1 to the new optionflags optional