cpython/Lib/test/test_json
Serhiy Storchaka b669be3c2b
[3.14] gh-155109: Run tests exhausting the C stack with a limited C stack (GH-155120) (GH-155165)
Add the @support.run_with_limited_c_stack() decorator which runs the test
in a thread with a 8 MiB C stack, so that the outcome does not depend on
RLIMIT_STACK. Use it in tests which recurse to a fixed depth --
@support.skip_if_huge_c_stack() failed to skip them with a 16 MiB stack.

(cherry picked from commit ce5ae29ef9)

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-04 11:01:38 +00:00
..
__init__.py
__main__.py
json_lines.jsonl
test_decode.py [3.14] Test object_hook and pickleability of some JSON components (GH-154155) (#154375) 2026-07-22 10:02:21 +02:00
test_default.py
test_dump.py
test_encode_basestring_ascii.py
test_enum.py
test_fail.py
test_float.py
test_indent.py
test_pass1.py
test_pass2.py
test_pass3.py
test_pickleable.py [3.14] Test object_hook and pickleability of some JSON components (GH-154155) (#154375) 2026-07-22 10:02:21 +02:00
test_recursion.py [3.14] gh-155109: Run tests exhausting the C stack with a limited C stack (GH-155120) (GH-155165) 2026-08-04 11:01:38 +00:00
test_scanstring.py
test_separators.py
test_speedups.py
test_tool.py
test_unicode.py [3.14] gh-154936: Fix JSON control character error position (GH-154941) (#154975) 2026-07-31 12:31:18 +03:00