Skip to content

Commit

Permalink
Merge pull request #56 from abrahammurciano/autoformat
Browse files Browse the repository at this point in the history
Autoformat code
  • Loading branch information
abrahammurciano authored Jan 20, 2022
2 parents b842c45 + 8c702ef commit ff0f214
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,4 @@ def root_logger() -> Generator[Logger, None, None]:

_root_logger.handlers = _handlers
_root_logger.filters = _filters
_root_logger.level = _log_level
_root_logger.level = _log_level
4 changes: 2 additions & 2 deletions tests/test_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def test_log_speed(logger_with_all_handlers: Logger):
), f"Logging took too long. Limit is {limit} seconds. Took {diff} seconds."


@pytest.mark.timeout(30)
@pytest.mark.timeout(300)
def test_recursion(root_logger: Logger):
"""Make sure there's no infinite recursion when a DiscordHandler is added to the root logger."""
root_logger.info(f"Pop goes the stack...")
assert_messages_sent(root_logger)
assert_messages_sent(root_logger)

0 comments on commit ff0f214

Please sign in to comment.