]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] bpo-13236: Flush the output stream more often in unittest (GH-29864) (GH-29929)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 10 Dec 2021 23:36:15 +0000 (01:36 +0200)
committerGitHub <noreply@github.com>
Fri, 10 Dec 2021 23:36:15 +0000 (00:36 +0100)
commit83fa1291fd0a25216a4a9e990f423682fda67cbe
tree2cc4978dae716ae64671fd1d2dad93a8f347243f
parent8f3728edcbc205913772f8dc04cccd8bdc476ff4
[3.10] bpo-13236: Flush the output stream more often in unittest (GH-29864) (GH-29929)

It can prevent some losses when output to buffered stream..
(cherry picked from commit f42a06ba279c916fb67289e47f9bc60dc5dee4ee)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/unittest/runner.py
Lib/unittest/test/test_program.py
Lib/unittest/test/test_result.py
Misc/NEWS.d/next/Library/2021-11-30-13-52-02.bpo-13236.FmJIkO.rst [new file with mode: 0644]