cpython/Lib/test/support
Sam Gross 8e2aab7ad5
gh-116604: Fix test_gc on free-threaded build (#116662)
The free-threaded GC only does full collections, so it uses a threshold that
is a maximum of a fixed value (default 2000) and proportional to the number of
live objects. If there were many live objects after the previous collection,
then the threshold may be larger than 10,000 causing
`test_indirect_calls_with_gc_disabled` to fail.

This manually sets the threshold to `(1000, 0, 0)` for the test. The `0`
disables the proportional scaling.
2024-03-13 13:27:36 +00: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
interpreters gh-76785: Minor Improvements to "interpreters" Module (gh-116328) 2024-03-05 08:54:46 -07:00
__init__.py gh-116604: Fix test_gc on free-threaded build (#116662) 2024-03-13 13:27:36 +00:00
ast_helper.py gh-100518: Add tests for `ast.NodeTransformer` (#100521) 2023-01-21 21:44:41 +00:00
asynchat.py gh-72719: Remove asyncore and asynchat modules (#96580) 2022-11-08 16:48:58 +01:00
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-112962: in dis module, put cache information in the Instruction instead of creating fake Instructions to represent it (#113016) 2023-12-13 12:00:21 +00:00
hashlib_helper.py bpo-45042: Now test classes decorated with `requires_hashdigest` are not skipped (GH-28060) 2021-09-04 23:42:36 +03:00
hypothesis_helper.py Disable `differing_test_runners` health check (#108886) 2023-09-04 18:31:58 +00:00
import_helper.py gh-116307: Proper fix for 'mod' leaking across importlib tests (#116680) 2024-03-12 21:36:21 +00:00
logging_helper.py bpo-40275: Avoid importing logging in test.support (GH-19601) 2020-04-25 11:35:18 +03:00
os_helper.py gh-71052: Change Android's `sys.platform` from "linux" to "android" 2024-03-11 19:25:39 +00:00
pty_helper.py gh-108303: Move all doctest related files and tests to `Lib/test/test_doctest/` (#112109) 2024-01-18 16:58:11 +01:00
refleak_helper.py gh-80931: Skip some socket tests while hunting for refleaks on macOS (#114057) 2024-01-21 11:25:15 +01:00
script_helper.py gh-112334: Regression test that vfork is used when expected. (#112734) 2023-12-09 00:18:35 +00:00
smtpd.py gh-108303: Move `smtpd` to `test.support` (#114368) 2024-01-22 14:36:29 +01:00
socket_helper.py gh-109015: Add test.support.socket_helper.tcp_blackhole() (#109016) 2023-09-07 01:58:03 +02:00
testcase.py gh-103791: Make contextlib.suppress also act on exceptions within an ExceptionGroup (#103792) 2023-04-24 22:17:02 +00:00
threading_helper.py gh-111644: Fix support threading_cleanup() (#111714) 2023-11-04 00:18:42 +00:00
warnings_helper.py gh-103109: Document ignore_warnings() test support helper (#103110) 2023-04-03 00:18:25 +02:00