mirror of
https://github.com/chatmail/relay.git
synced 2026-05-19 20:38:05 +00:00
rename test files to be unambigously numbered
This commit is contained in:
@@ -79,6 +79,9 @@ def benchmark(request):
|
|||||||
def pytest_terminal_summary(terminalreporter):
|
def pytest_terminal_summary(terminalreporter):
|
||||||
tr = terminalreporter
|
tr = terminalreporter
|
||||||
results = tr.config._benchresults
|
results = tr.config._benchresults
|
||||||
|
if not results:
|
||||||
|
return
|
||||||
|
|
||||||
tr.section("benchmark results")
|
tr.section("benchmark results")
|
||||||
float_names = 'median min max'.split()
|
float_names = 'median min max'.split()
|
||||||
width = max(map(len, float_names))
|
width = max(map(len, float_names))
|
||||||
|
|||||||
Reference in New Issue
Block a user