ufoLib_test: fix test on pypy3
shutil.rmtree doesn't like pathlib Paths on pypy3 for some reasosn https://travis-ci.org/github/fonttools/fonttools/jobs/684236676#L592
This commit is contained in:
parent
b617ac798e
commit
82faf2addc
@ -76,7 +76,7 @@ def test_UFOWriter_formatVersion(tmp_path):
|
||||
with UFOWriter(ufo_path, formatVersion=3) as writer:
|
||||
assert writer.formatVersionTuple == (3, 0)
|
||||
|
||||
shutil.rmtree(ufo_path)
|
||||
shutil.rmtree(str(ufo_path))
|
||||
with UFOWriter(ufo_path, formatVersion=(2, 0)) as writer:
|
||||
assert writer.formatVersionTuple == (2, 0)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user