def test_handle_entityref(): parser = TextExtractorHTMLParser() assert parser.handle_entityref('gt') == '>'
def test_handle_charref(): parser = TextExtractorHTMLParser() assert parser.handle_charref('62') == '>'