Esempio n. 1
0
def test_autohintmm_unicode(args):
    with pytest.raises(TypeError):
        _psautohint.autohintmm(*args)
Esempio n. 2
0
def test_autohintmm_good_args():
    _psautohint.autohintmm(INFO, (GLYPH, GLYPH), (NAME, NAME))
Esempio n. 3
0
def test_autohintmm_bad_args(args):
    with pytest.raises(TypeError):
        _psautohint.autohintmm(*args)
Esempio n. 4
0
def test_autohintmm_bad_glyphs(glyphs):
    with pytest.raises(_psautohint.error):
        _psautohint.autohintmm(INFO, glyphs, (NAME, NAME))