gh-129363: Change regrtest sequential mode output#129687
gh-129363: Change regrtest sequential mode output#129687vstinner wants to merge 1 commit intopython:mainfrom
Conversation
Always display the previous test, even if it passed in less than 30 seconds.
|
Hmm, I'm not so keen that we get the result printed after we print the next test has started. It's a little confusing to have them on different lines. From #129476 (comment):
Would something like this be possible?
This minimises the amount of duplication, and we don't mix different tests on the same line, and it's all synchronous. |
|
@hugovk: That's more complicated to implement since regrtest is designed in a way that errors are written after "test_asyncio". Errors are written immediately, there is no buffer. So it's not easy to add "passed" or "failed" afterwards. |
|
I close this PR. The other PR was merged instead: #129476 |

Always display the previous test, even if it passed in less than 30 seconds.
Example, before:
Example, after with colors:
python -m testcolor print with and without-j#129363