| Trees | Index | Help |
|
|---|
| Package zope :: Package testing :: Module doctest :: Class OutputChecker |
|
A class used to check the whether the actual output from a doctest
example matches the expected output. OutputChecker defines two
methods: check_output, which compares a given pair of outputs,
and returns true if they match; and output_difference, which
returns a string describing the differences between two outputs.
| Method Summary | |
|---|---|
Return True iff the actual output from an example ( got)
matches the expected output (want). | |
Return a string describing the differences between the expected output for a given example ( example) and the actual
output (got). | |
| Method Details |
|---|
check_output(self, want, got, optionflags)Return True iff the actual output from an example ( |
output_difference(self, example, got, optionflags)Return a string describing the differences between the
expected output for a given example ( |
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Fri Jun 24 12:01:22 2005 | http://epydoc.sf.net |