Skip to content

Commit

Permalink
Tidy up test docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeZiminski committed May 1, 2024
1 parent 00f87d4 commit 3202957
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/tests/test_general.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,14 @@ def test_named_logger_propagate(tmp_path, capsys):
parent handlers. Root is always parent to named loggers.
This means that named logger can still print to console
through the root StreamHandler unless `propagate` is set
to `False`. Check here that
to `False`. Check here that propagate is set to False and
indeed named logger does not print to console.
"""
logger_name = "hello_world"

fancylog.start_logging(
tmp_path, fancylog, logger_name=logger_name, log_to_console=False
) # , log_to_console=False)
)

logger = logging.getLogger(logger_name)

Expand Down

0 comments on commit 3202957

Please sign in to comment.