Commit 5ab6b77
committed
Adjust duration_by_test definition to reflect new use
As at the status quo, whichever call item ran last (usually
'teardown') had its time overwrite the test in question's entry
in duration_by_test.
The simplest way I could think of to avoid that was to add
each call item's duration to the total in duration_by_test.
Changing duration_by_test to a defaultdict simplified the
bookkeeping.1 parent e33f6f7 commit 5ab6b77
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
| 429 | + | |
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
| |||
0 commit comments