def test_fragment_to_document(self, fragment):
            return u'<html><head></head><body>%s</body></html>' % fragment
See `TreeBuilder`.
dataset/ETHPy150Open mtlevolio/pylinkchecker/pylinkchecker/bs4/builder/_html5lib.py/HTML5TreeBuilder.test_fragment_to_document