summaryrefslogtreecommitdiffstats
path: root/Python/import.c
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2018-10-29 20:09:41 (GMT)
committerGitHub <noreply@github.com>2018-10-29 20:09:41 (GMT)
commit02277482ea765335e497ecd9661d4bde9b5ddc67 (patch)
treec7e888350dc8bd0232467048b560bc404fe3d880 /Python/import.c
parent541497e6197268517b0d492856027774c43e0949 (diff)
downloadcpython-02277482ea765335e497ecd9661d4bde9b5ddc67.zip
cpython-02277482ea765335e497ecd9661d4bde9b5ddc67.tar.gz
cpython-02277482ea765335e497ecd9661d4bde9b5ddc67.tar.bz2
bpo-34945: Buffer output in test suite only when creating junit file (GH-10204)
After commit d0f49d2f5085ca68e3dc8725f1fb1c9674bfb5ed, the output of the test suite is always buffered as the test output needs to be included in the JUnit file in same cases (as when a test fails). This has the consequence that printing or using debuggers (like pdb) in the test suite does not result in a good user experience anymore. This commit modifies the test suite runner so it only captures the test output when the JUnit file is requested to fix the regression so prints and debuggers are usable again.
Diffstat (limited to 'Python/import.c')
0 files changed, 0 insertions, 0 deletions