def tearDown(self):
        for statfile in self.statfiles:
            if os.path.isfile(statfile):
                os.remove(statfile)
This function gets called after each test function.
dataset/ETHPy150Open T-002/pycast/pycast/tests/profilemetest.py/ProfileMeDecoratorTest.tearDown