cpython/Lib/test/test_tomllib
Miss Islington (bot) 18f9af2331
[3.14] gh-143460: Skip infinite recusion tests for infinite stack size (GH-143606) (#143619)
gh-143460: Skip infinite recusion tests for infinite stack size (GH-143606)

Avoid tests being killed due to OOM on Linux if a system is configured with
'ulimit -s unlimited' by skipping tests relying on infinite recursion.

While unclear if Python should support 'ulimit -s unlimited', we should at
least try to avoid failing a PGO build running tests due to an unlimited
stack size being set.
(cherry picked from commit 61e036691c)

Signed-off-by: Jan André Reuter <j.reuter@fz-juelich.de>
Co-authored-by: Jan André Reuter <jan.andre.reuter@hotmail.de>
2026-01-09 16:54:49 +00:00
..
data
__init__.py
__main__.py
burntsushi.py
test_data.py
test_error.py gh-126175: Add attributes to TOMLDecodeError. Deprecate free-form __init__ args (GH-126428) 2024-11-13 13:52:16 +01:00
test_misc.py [3.14] gh-143460: Skip infinite recusion tests for infinite stack size (GH-143606) (#143619) 2026-01-09 16:54:49 +00:00