Staging
v0.5.1
https://github.com/python/cpython
Revision 7b689c68ab3236455f7d58954435d029e2bb2c8a authored by Miss Islington (bot) on 29 October 2018, 21:07:50 UTC, committed by GitHub on 29 October 2018, 21:07:50 UTC

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.
(cherry picked from commit 02277482ea765335e497ecd9661d4bde9b5ddc67)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
1 parent 4687bc9
History
Tip revision: 7b689c68ab3236455f7d58954435d029e2bb2c8a authored by Miss Islington (bot) on 29 October 2018, 21:07:50 UTC
bpo-34945: Buffer output in test suite only when creating junit file (GH-10204)
Tip revision: 7b689c6
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
.bzrignore -rw-r--r-- 582 bytes
.gitattributes -rw-r--r-- 1.6 KB
.gitignore -rw-r--r-- 1.4 KB
.hgignore -rw-r--r-- 1.3 KB
.travis.yml -rw-r--r-- 5.2 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 59.9 KB
README.rst -rw-r--r-- 9.8 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.2 KB
config.sub -rwxr-xr-x 35.7 KB
configure -rwxr-xr-x 480.1 KB
configure.ac -rw-r--r-- 160.6 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 41.1 KB
setup.py -rw-r--r-- 102.1 KB

README.rst

back to top