subset_test: ignore_errors in rmtree when tearing down tempdir

should fix random test failures like
https://github.com/fonttools/fonttools/runs/6127120342?check_suite_focus=true
This commit is contained in:
Cosimo Lupo 2022-04-22 11:46:07 +01:00
parent fe81aa729a
commit 4217384e81

View File

@ -29,7 +29,7 @@ class SubsetTest:
@classmethod
def teardown_class(cls):
if cls.tempdir:
shutil.rmtree(cls.tempdir)
shutil.rmtree(cls.tempdir, ignore_errors=True)
@staticmethod
def getpath(testfile):