diff options
Diffstat (limited to 'test/option/debug-time.py')
-rw-r--r-- | test/option/debug-time.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/option/debug-time.py b/test/option/debug-time.py index a1e0254..39a47c1 100644 --- a/test/option/debug-time.py +++ b/test/option/debug-time.py @@ -110,7 +110,9 @@ expected_total_time = complete_time - overhead pattern = r'Command execution time: (\d+\.\d+) seconds' times = list(map(float, re.findall(pattern, test.stdout()))) -expected_command_time = reduce(lambda x, y: x + y, times, 0.0) +expected_command_time = 0.0 +for t in times: + expected_command_time += t stdout = test.stdout() |