Skip to content

Commit

Permalink
oh there's a clear method lol
Browse files Browse the repository at this point in the history
  • Loading branch information
sneakers-the-rat committed Nov 12, 2024
1 parent a791ba3 commit 1e78e94
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ def reset_root_logger():
Before each test, reset the root logger
"""
root_logger = logging.getLogger("miniscope_io")
for handler in root_logger.handlers:
root_logger.removeHandler(handler)
root_logger.handlers.clear()


def test_init_logger(capsys, tmp_path):
Expand Down

0 comments on commit 1e78e94

Please sign in to comment.