diff options
author | Petr Viktorin <encukou@gmail.com> | 2024-02-27 08:51:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-27 08:51:17 (GMT) |
commit | af5f9d682c20c951b90e3c020eeccac386c9bbb0 (patch) | |
tree | 212d63bd3fa2edc6a6dc34422e0c096d0cb7bd0a /Lib/test/test_optimizer.py | |
parent | 6087315926fb185847a52559af063cc7d337d978 (diff) | |
download | cpython-af5f9d682c20c951b90e3c020eeccac386c9bbb0.zip cpython-af5f9d682c20c951b90e3c020eeccac386c9bbb0.tar.gz cpython-af5f9d682c20c951b90e3c020eeccac386c9bbb0.tar.bz2 |
gh-115720: Show number of leaks in huntrleaks progress reports (GH-115726)
Instead of showing a dot for each iteration, show:
- '.' for zero (on negative) leaks
- number of leaks for 1-9
- 'X' if there are more leaks
This allows more rapid iteration: when bisecting, I don't need
to wait for the final report to see if the test still leaks.
Also, show the full result if there are any non-zero entries.
This shows negative entries, for the unfortunate cases where
a reference is created and cleaned up in different runs.
Test *failure* is still determined by the existing heuristic.
Diffstat (limited to 'Lib/test/test_optimizer.py')
0 files changed, 0 insertions, 0 deletions