cpython/Lib/test/libregrtest
Victor Stinner 3d396ab759
gh-135124: Change stdout errors in regrtest worker process (#135138)
Set sys.stdout encoder error handler to backslashreplace in regrtest
workers to avoid UnicodeEncodeError when printing a traceback
or any other non-encodable character.

Move the code from the Regrtest class to setup_process().

Call setup_process() earlier, before displaying regrtest headers.
2025-06-05 11:17:03 +02:00
..
__init__.py
cmdline.py gh-132678: Add --prioritize to regrtest (GH-132679) 2025-04-18 15:56:44 +02:00
filter.py
findtests.py
logger.py
main.py gh-135124: Change stdout errors in regrtest worker process (#135138) 2025-06-05 11:17:03 +02:00
mypy.ini
parallel_case.py
pgo.py
refleak.py
result.py
results.py
run_workers.py
runtests.py
save_env.py
setup.py gh-135124: Change stdout errors in regrtest worker process (#135138) 2025-06-05 11:17:03 +02:00
single.py
testresult.py
tsan.py gh-127945: add test_ctypes to free-threading TSAN CI (#132727) 2025-04-21 22:56:56 +05:30
utils.py gh-133519: Add console to resources in libregrtest (#133520) 2025-05-09 18:30:13 +02:00
win_utils.py
worker.py