[designspaceLib/avar2] Remove Windows hack in tests
This commit is contained in:
parent
ddf16c9130
commit
65bc6b7cb0
@ -3,6 +3,7 @@
|
|||||||
import os
|
import os
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
import re
|
import re
|
||||||
|
import shutil
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
from fontTools import ttLib
|
from fontTools import ttLib
|
||||||
@ -693,7 +694,9 @@ def test_axisMappingsRoundtrip(tmpdir):
|
|||||||
# tests of axisMappings in a document, roundtripping.
|
# tests of axisMappings in a document, roundtripping.
|
||||||
|
|
||||||
tmpdir = str(tmpdir)
|
tmpdir = str(tmpdir)
|
||||||
testDocPath = (Path(__file__) / "../data/test_avar2.designspace").resolve()
|
srcDocPath = (Path(__file__) / "../data/test_avar2.designspace").resolve()
|
||||||
|
testDocPath = os.path.join(tmpdir, "test_avar2.designspace")
|
||||||
|
shutil.copy(srcDocPath, testDocPath)
|
||||||
testDocPath2 = os.path.join(tmpdir, "test_avar2_roundtrip.designspace")
|
testDocPath2 = os.path.join(tmpdir, "test_avar2_roundtrip.designspace")
|
||||||
doc = DesignSpaceDocument()
|
doc = DesignSpaceDocument()
|
||||||
doc.read(testDocPath)
|
doc.read(testDocPath)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user