Lines Matching refs:optionflags
1198 def __init__(self, checker=None, verbose=None, optionflags=0): argument
1219 self.optionflags = optionflags
1220 self.original_optionflags = optionflags
1260 self._checker.output_difference(example, got, self.optionflags))
1304 original_optionflags = self.optionflags
1315 quiet = (self.optionflags & REPORT_ONLY_FIRST_FAILURE and
1319 self.optionflags = original_optionflags
1323 self.optionflags |= optionflag
1325 self.optionflags &= ~optionflag
1328 if self.optionflags & SKIP:
1363 if check(example.want, got, self.optionflags):
1378 elif check(example.exc_msg, exc_msg, self.optionflags):
1382 elif self.optionflags & IGNORE_EXCEPTION_DETAIL:
1385 self.optionflags):
1404 if failures and self.optionflags & FAIL_FAST:
1408 self.optionflags = original_optionflags
1592 def check_output(self, want, got, optionflags): argument
1618 if not (optionflags & DONT_ACCEPT_TRUE_FOR_1):
1626 if not (optionflags & DONT_ACCEPT_BLANKLINE):
1639 if optionflags & NORMALIZE_WHITESPACE:
1647 if optionflags & ELLIPSIS:
1655 def _do_a_fancy_diff(self, want, got, optionflags): argument
1657 if not optionflags & (REPORT_UDIFF |
1672 if optionflags & REPORT_NDIFF:
1678 def output_difference(self, example, got, optionflags): argument
1688 if not (optionflags & DONT_ACCEPT_BLANKLINE):
1692 if self._do_a_fancy_diff(want, got, optionflags):
1697 if optionflags & REPORT_UDIFF:
1701 elif optionflags & REPORT_CDIFF:
1705 elif optionflags & REPORT_NDIFF:
1875 report=True, optionflags=0, extraglobs=None, argument
1961 runner = DebugRunner(verbose=verbose, optionflags=optionflags)
1963 runner = DocTestRunner(verbose=verbose, optionflags=optionflags)
1979 globs=None, verbose=None, report=True, optionflags=0, argument
2083 runner = DebugRunner(verbose=verbose, optionflags=optionflags)
2085 runner = DocTestRunner(verbose=verbose, optionflags=optionflags)
2102 compileflags=None, optionflags=0): argument
2120 runner = DocTestRunner(verbose=verbose, optionflags=optionflags)
2168 def __init__(self, test, optionflags=0, setUp=None, tearDown=None, argument
2172 self._dt_optionflags = optionflags
2196 optionflags = self._dt_optionflags
2198 if not (optionflags & REPORTING_FLAGS):
2201 optionflags |= _unittest_reportflags
2203 runner = DocTestRunner(optionflags=optionflags,
2295 runner = DebugRunner(optionflags=self._dt_optionflags,
2793 failures, _ = testmod(m, verbose=verbose, optionflags=options)
2796 verbose=verbose, optionflags=options)