Searched refs:doctype_fragment (Results 1 – 1 of 1) sorted by relevance
78 def assertDoctypeHandled(self, doctype_fragment): argument80 doctype_str, soup = self._document_with_doctype(doctype_fragment)85 self.assertEqual(doctype, doctype_fragment)92 def _document_with_doctype(self, doctype_fragment): argument94 doctype = '<!DOCTYPE %s>' % doctype_fragment