https://github.com/python/cpython
Revision 02277482ea765335e497ecd9661d4bde9b5ddc67 authored by Pablo Galindo on 29 October 2018, 20:09:41 UTC, committed by GitHub on 29 October 2018, 20:09:41 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.
1 parent 541497e
History
Tip revision: 02277482ea765335e497ecd9661d4bde9b5ddc67 authored by Pablo Galindo on 29 October 2018, 20:09:41 UTC
bpo-34945: Buffer output in test suite only when creating junit file (GH-10204)
Tip revision: 0227748
File Mode Size
README -rw-r--r-- 67 bytes
_freeze_importlib.c -rw-r--r-- 4.6 KB
_testembed.c -rw-r--r-- 20.7 KB
python.c -rw-r--r-- 266 bytes

README

back to top