1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

reformat to pass pre-commit check

This commit is contained in:
Finn Womack 2022-07-18 12:30:17 -07:00 committed by GitHub
parent a7c1fe3bff
commit 48bcb0a4cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,9 +62,7 @@ class TestIndentingFormatter:
),
],
)
def test_format_with_timestamp(
self, level_name: str, expected: str
) -> None:
def test_format_with_timestamp(self, level_name: str, expected: str) -> None:
record = self.make_record("hello\nworld", level_name=level_name)
f = IndentingFormatter(fmt="%(message)s", add_timestamp=True)
assert f.format(record) == expected