Home | History | Annotate | Download | only in python2.7

Lines Matching refs:optionflags

434         DocTestRunner's optionflags).  By default, no options are set.
1140 def __init__(self, checker=None, verbose=None, optionflags=0):
1152 Optional argument `optionflags` can be used to control how the
1161 self.optionflags = optionflags
1162 self.original_optionflags = optionflags
1202 self._checker.output_difference(example, got, self.optionflags))
1246 original_optionflags = self.optionflags
1257 quiet = (self.optionflags & REPORT_ONLY_FIRST_FAILURE and
1261 self.optionflags = original_optionflags
1265 self.optionflags |= optionflag
1267 self.optionflags &= ~optionflag
1270 if self.optionflags & SKIP:
1305 if check(example.want, got, self.optionflags):
1321 elif check(example.exc_msg, exc_msg, self.optionflags):
1325 elif self.optionflags & IGNORE_EXCEPTION_DETAIL:
1329 self.optionflags):
1349 self.optionflags = original_optionflags
1519 def check_output(self, want, got, optionflags):
1536 if not (optionflags & DONT_ACCEPT_TRUE_FOR_1):
1544 if not (optionflags & DONT_ACCEPT_BLANKLINE):
1557 if optionflags & NORMALIZE_WHITESPACE:
1565 if optionflags & ELLIPSIS:
1573 def _do_a_fancy_diff(self, want, got, optionflags):
1575 if not optionflags & (REPORT_UDIFF |
1585 ##if optionflags & ELLIPSIS and ELLIPSIS_MARKER in want:
1590 if optionflags & REPORT_NDIFF:
1596 def output_difference(self, example, got, optionflags):
1600 output (`got`). `optionflags` is the set of option flags used
1606 if not (optionflags & DONT_ACCEPT_BLANKLINE):
1610 if self._do_a_fancy_diff(want, got, optionflags):
1615 if optionflags & REPORT_UDIFF:
1619 elif optionflags & REPORT_CDIFF:
1623 elif optionflags & REPORT_NDIFF:
1795 report=True, optionflags=0, extraglobs=None,
1798 optionflags=0, extraglobs=None, raise_on_error=False,
1833 Optional keyword arg "optionflags" or's together module constants,
1881 runner = DebugRunner(verbose=verbose, optionflags=optionflags)
1883 runner = DocTestRunner(verbose=verbose, optionflags=optionflags)
1899 globs=None, verbose=None, report=True, optionflags=0,
1946 Optional keyword arg "optionflags" or's together module constants,
2002 runner = DebugRunner(verbose=verbose, optionflags=optionflags)
2004 runner = DocTestRunner(verbose=verbose, optionflags=optionflags)
2024 compileflags=None, optionflags=0):
2036 Optional keyword arg `optionflags` specifies options for the
2042 runner = DocTestRunner(verbose=verbose, optionflags=optionflags)
2053 def __init__(self, mod=None, globs=None, verbose=None, optionflags=0):
2068 self.optionflags = optionflags
2071 optionflags=optionflags)
2155 def __init__(self, test, optionflags=0, setUp=None, tearDown=None,
2159 self._dt_optionflags = optionflags
2183 optionflags = self._dt_optionflags
2185 if not (optionflags & REPORTING_FLAGS):
2188 optionflags |= _unittest_reportflags
2190 runner = DocTestRunner(optionflags=optionflags,
2282 runner = DebugRunner(optionflags=self._dt_optionflags,
2366 optionflags
2495 optionflags
2728 optionflags argument.