diff --git a/kivy/tests/test_fonts.py b/kivy/tests/test_fonts.py index 700995f9c..26939f1ce 100644 --- a/kivy/tests/test_fonts.py +++ b/kivy/tests/test_fonts.py @@ -19,3 +19,9 @@ class FontTestCase(unittest.TestCase): lbl = Label(font_name=self.font_name) lbl.refresh() self.assertNotEqual(lbl.get_extents(''), None) + + def tearDown(self): + import os + if os.path.exists(self.font_name): + os.unlink(self.font_name) +