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 gh-131152: Remove unused imports from tests (#131153) 2025-03-13 10:55:23 +01:00
pgo.py gh-128690: temporarily do not use test_embed in PGO profile builds (#128771) 2025-01-13 04:02:18 -05:00
refleak.py gh-117174: Fix reference leak and gdb tests (#131095) 2025-03-11 23:17:58 +00:00
result.py
results.py
run_workers.py
runtests.py gh-127933: Add option to run regression tests in parallel (gh-128003) 2025-02-04 17:44:59 -05:00
save_env.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
setup.py gh-135124: Change stdout errors in regrtest worker process (#135138) 2025-06-05 11:17:03 +02:00
single.py gh-127933: Add option to run regression tests in parallel (gh-128003) 2025-02-04 17:44:59 -05:00
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 gh-129980: Include test name in TSAN filename in multiprocess test runner (GH-129981) 2025-02-11 12:09:43 -05:00