add padding to durations in rep.when
This commit is contained in:
parent
ec0565fac5
commit
efe438d3e8
|
@ -43,7 +43,7 @@ def pytest_terminal_summary(terminalreporter):
|
||||||
|
|
||||||
for duration, rep in d2:
|
for duration, rep in d2:
|
||||||
nodeid = rep.nodeid.replace("::()::", "::")
|
nodeid = rep.nodeid.replace("::()::", "::")
|
||||||
tr.write_line("%02.2fs %s %s" %
|
tr.write_line("%02.2fs %-8s %s" %
|
||||||
(duration, rep.when, nodeid))
|
(duration, rep.when, nodeid))
|
||||||
|
|
||||||
def pytest_sessionstart(session):
|
def pytest_sessionstart(session):
|
||||||
|
|
Loading…
Reference in New Issue