Package nltk :: Package test :: Module doctest_driver :: Class MyOutputChecker
[hide private]
[frames] | no frames]

classobj_type MyOutputChecker

source code

doctest.OutputChecker --+
                        |
                       MyOutputChecker

Instance Methods [hide private]
 
check_output(self, want, got, optionflags)
Return True iff the actual output from an example (got) matches the expected output (want).
source code

Inherited from doctest.OutputChecker: output_difference

Inherited from doctest.OutputChecker (private): _do_a_fancy_diff

Class Variables [hide private]
  CALLOUT_RE = re.compile(r'(?m) *# +\[_([\w-]+)\] *$')
Method Details [hide private]

check_output(self, want, got, optionflags)

source code 
Return True iff the actual output from an example (got) matches the expected output (want). These strings are always considered to match if they are identical; but depending on what option flags the test runner is using, several non-exact match types are also possible. See the documentation for TestRunner for more information about option flags.
Overrides: doctest.OutputChecker.check_output
(inherited documentation)