The HTMLOutputChecker class is accessible via the formencode.doctest_xml_compare module.
See the source for more information.