コード例 #1
0
ファイル: test_funcs.py プロジェクト: imbolc/Leaf
def test_strip_accents():
    assert leaf.strip_accents(u'ЁёЇїIiӒӓЎўй') == u'ЕеІіIiАаУуй', "Strip accents from a string"
コード例 #2
0
ファイル: test_funcs.py プロジェクト: imbolc/Leaf
def test_strip_accents():
    assert leaf.strip_accents(
        u'ЁёЇїIiӒӓЎўй') == u'ЕеІіIiАаУуй', "Strip accents from a string"
コード例 #3
0
def get_document(raw_html_schedule):
    return leaf.parse(leaf.strip_symbols(leaf.strip_accents(show(raw_html_schedule))))
コード例 #4
0
def get_document(raw_html_schedule):
    return leaf.parse(
        leaf.strip_symbols(leaf.strip_accents(show(raw_html_schedule))))