Skip to content

Commit 6909c8a

Browse files
committed
Fix flake8 warning in doc/
1 parent 6cc0f31 commit 6909c8a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

colorlog/tests/test_colorlog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def test_some_secondary_colors(create_and_test_logger):
6363
secondary_log_colors={"message": {"ERROR": "red", "CRITICAL": "red"}},
6464
)
6565
# Check that only two lines are colored
66-
assert len([l for l in lines if "\x1b[31m" in l]) == 2
66+
assert len([line for line in lines if "\x1b[31m" in line]) == 2
6767

6868

6969
def test_percent_style(create_and_test_logger):

0 commit comments

Comments
 (0)