Skip to content

Commit

Permalink
Fix flake8 warning in doc/
Browse files Browse the repository at this point in the history
  • Loading branch information
borntyping committed Aug 29, 2022
1 parent 6cc0f31 commit 6909c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colorlog/tests/test_colorlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def test_some_secondary_colors(create_and_test_logger):
secondary_log_colors={"message": {"ERROR": "red", "CRITICAL": "red"}},
)
# Check that only two lines are colored
assert len([l for l in lines if "\x1b[31m" in l]) == 2
assert len([line for line in lines if "\x1b[31m" in line]) == 2


def test_percent_style(create_and_test_logger):
Expand Down

0 comments on commit 6909c8a

Please sign in to comment.