Skip to content

Commit

Permalink
add logger stop
Browse files Browse the repository at this point in the history
  • Loading branch information
rayrayraykk committed Mar 6, 2024
1 parent 723f007 commit 2ca6847
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/logger_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ def test_logger_chat(self) -> None:

def tearDown(self) -> None:
"""Tear down for LoggerTest."""
shutil.rmtree(self.run_dir)
logger.stop()
if os.path.exists(self.run_dir):
shutil.rmtree(self.run_dir)


if __name__ == "__main__":
Expand Down

0 comments on commit 2ca6847

Please sign in to comment.