mirror of
https://github.com/chatmail/relay.git
synced 2026-05-15 10:24:40 +00:00
some reformatting and striking overall
This commit is contained in:
@@ -83,9 +83,8 @@ def pytest_terminal_summary(terminalreporter):
|
||||
tr.write_line(headers)
|
||||
tr.write_line("-" * len(headers))
|
||||
for name, durations in results.items():
|
||||
overall = sum(durations)
|
||||
median = sorted(durations)[len(durations) // 2]
|
||||
median = f'{median:2.4f}'
|
||||
median = f"{median:2.4f}"
|
||||
tr.write_line(f"{name: <30} {median: >6}")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user