diff --git a/Tests/test_imagefont.py b/Tests/test_imagefont.py index 9ea07278a3a..ce12cba999c 100644 --- a/Tests/test_imagefont.py +++ b/Tests/test_imagefont.py @@ -43,6 +43,7 @@ def test_6324(self): import shutil shutil.copy("Tests/fonts/FreeMono.ttf", "out.ttf") font = ImageFont.truetype("out.ttf") + del font os.remove("out.ttf") def test_font_properties(self):