def tearDown(self):
    for path in self._temp_files:
        if os.path.exists(path):
            os.remove(path)
    self._temp_files = []
def tearDown(self):
    for path in self._temp_files:
        if os.path.exists(path):
            os.remove(path)
    self._temp_files = []