The OutputChecker class is accessible via the formencode.util.doctest24 module.
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.
Return a string describing the differences between the expected output for a given example ( example ) and the actual output ( got ). optionflags is the set of option flags used to compare want and got .
See the source for more information.