skip removeOveraps_test if pathops can't be imported
This commit is contained in:
parent
27e8943d3c
commit
80598d3c2c
@ -1,8 +1,10 @@
|
|||||||
import logging
|
import logging
|
||||||
from fontTools.ttLib.removeOverlaps import _simplify
|
|
||||||
import pathops
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
|
pathops = pytest.importorskip("pathops")
|
||||||
|
|
||||||
|
from fontTools.ttLib.removeOverlaps import _simplify
|
||||||
|
|
||||||
|
|
||||||
def test_pathops_simplify_bug_workaround(caplog):
|
def test_pathops_simplify_bug_workaround(caplog):
|
||||||
# Paths extracted from Noto Sans Ethiopic instance that fails skia-pathops
|
# Paths extracted from Noto Sans Ethiopic instance that fails skia-pathops
|
||||||
|
Loading…
x
Reference in New Issue
Block a user