cpython/Lib/test/support
Victor Stinner 8ff1142578
gh-108851: Fix tomllib recursion tests (#108853)
* Add get_recursion_available() and get_recursion_depth() functions
  to the test.support module.
* Change infinite_recursion() default max_depth from 75 to 100.
* Fix test_tomllib recursion tests for WASI buildbots: reduce the
  recursion limit and compute the maximum nested array/dict depending
  on the current available recursion limit.
* test.pythoninfo logs sys.getrecursionlimit().
* Enhance test_sys tests on sys.getrecursionlimit()
  and sys.setrecursionlimit().
2023-09-06 17:34:31 +02:00
..
_hypothesis_stubs GH-86275: Implementation of hypothesis stubs for property-based tests, with zoneinfo tests (#22863) 2023-05-12 08:35:53 -04:00
__init__.py gh-108851: Fix tomllib recursion tests (#108853) 2023-09-06 17:34:31 +02:00
ast_helper.py
asynchat.py
asyncore.py gh-102799: use sys.exception() instead of sys.exc_info() in tests (#103293) 2023-04-06 11:08:25 +01:00
bytecode_helper.py gh-104615: don't make unsafe swaps in apply_static_swaps (#104620) 2023-05-18 21:22:03 +00:00
hashlib_helper.py
hypothesis_helper.py Disable `differing_test_runners` health check (#108886) 2023-09-04 18:31:58 +00:00
import_helper.py gh-104310: Add importlib.util.allowing_all_extensions() (gh-104311) 2023-05-08 16:56:01 -06:00
interpreters.py Update test.support.interpreters to include missing RunFailedError import (#103841) 2023-06-26 17:30:20 +02:00
logging_helper.py
os_helper.py
script_helper.py
socket_helper.py gh-104773: PEP 594: Remove the nntplib module (#104894) 2023-05-24 21:15:43 +00:00
testcase.py gh-103791: Make contextlib.suppress also act on exceptions within an ExceptionGroup (#103792) 2023-04-24 22:17:02 +00:00
testresult.py gh-108834: regrtest reruns failed tests in subprocesses (#108839) 2023-09-03 21:37:15 +00:00
threading_helper.py gh-104812: Run Pending Calls in any Thread (gh-104813) 2023-06-13 15:02:19 -06:00
warnings_helper.py