Skip to content

Commit

Permalink
Satiate pyright
Browse files Browse the repository at this point in the history
  • Loading branch information
Chsudeepta authored and Chsudeepta committed Oct 17, 2024
1 parent b6f0e9a commit e539829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/logger/test_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_GIVEN_logging_is_requested_THEN_handler_is_added():
if isinstance(handler, logging.handlers.TimedRotatingFileHandler):
loghandler = handler

if isinstance(loghandler, logging.handlers.TimedRotatingFileHandler):
if isinstance(loghandler, logging.FileHandler):
assert loghandler is not None
assert loghandler.name == "timedRotatingFileHandler"
assert loghandler.when.lower() == "midnight"
Expand Down

0 comments on commit e539829

Please sign in to comment.