def test_charref_hex(handle_data): """should evaluate hexadecimal character references""" parser = YVParser() parser.feed('°') handle_data.assert_called_once_with('°')
def test_charref_name(handle_data): """should evaluate named character references""" parser = YVParser() parser.feed('°') handle_data.assert_called_once_with('°')