]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] bpo-13236: Flush the output stream more often in unittest (GH-29929) (GH-30039)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 11 Dec 2021 00:34:46 +0000 (16:34 -0800)
committerGitHub <noreply@github.com>
Sat, 11 Dec 2021 00:34:46 +0000 (01:34 +0100)
commitd55a03e02e69fb7f639998de71ed3f44c2f4f999
treeb3f2db8bcd1a29047bc7d8f1f08e7a239287f436
parent9299e3a39c3b1dd7d5db0d88080249c2dab3070f
[3.10] bpo-13236: Flush the output stream more often in unittest (GH-29929) (GH-30039)

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

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]