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:
Cosimo Lupo 2020-05-07 13:38:36 +01:00
parent b617ac798e
commit 82faf2addc
No known key found for this signature in database
GPG Key ID: 179A8F0895A02F4F

View File

@ -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)