Searched refs:doctype_fragment (Results 1 – 1 of 1) sorted by relevance
57 def assertDoctypeHandled(self, doctype_fragment): argument59 doctype_str, soup = self._document_with_doctype(doctype_fragment)64 self.assertEqual(doctype, doctype_fragment)71 def _document_with_doctype(self, doctype_fragment): argument73 doctype = '<!DOCTYPE %s>' % doctype_fragment