cpython/Lib/test/libregrtest
Victor Stinner 679cb4781e
bpo-44895: libregrtest: refleak check clears types later (GH-28113)
libregrtest now clears the type cache later to reduce the risk of
false alarm when checking for reference leaks. Previously, the type
cache was cleared too early and libregrtest raised a false alarm
about reference leaks under very specific conditions.

Move also support.gc_collect() outside clear/cleanup functions to
make the garbage collection more explicit.

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2021-09-01 17:45:27 +02:00
..
__init__.py bpo-37473: Don't import importlib ASAP in tests (GH-14661) 2019-07-14 19:31:12 +02:00
cmdline.py bpo-44708: Only re-run test methods that match names of previously failing test methods (GH-27287) 2021-07-22 20:25:58 +02:00
main.py bpo-44708: Only re-run test methods that match names of previously failing test methods (GH-27287) 2021-07-22 20:25:58 +02:00
pgo.py bpo-42128: Structural Pattern Matching (PEP 634) (GH-22917) 2021-02-26 14:51:55 -08:00
refleak.py bpo-44895: libregrtest: refleak check clears types later (GH-28113) 2021-09-01 17:45:27 +02:00
runtest.py bpo-44895: libregrtest: refleak check clears types later (GH-28113) 2021-09-01 17:45:27 +02:00
runtest_mp.py bpo-44708: Only re-run test methods that match names of previously failing test methods (GH-27287) 2021-07-22 20:25:58 +02:00
save_env.py bpo-41718: regrtest saved_test_environment avoids imports (GH-24934) 2021-03-22 23:52:13 +01:00
setup.py bpo-44647: Add a permanent Unicode-valued env var to regrtest (#27187) 2021-07-16 15:24:02 +02:00
utils.py bpo-44895: libregrtest: refleak check clears types later (GH-28113) 2021-09-01 17:45:27 +02:00
win_utils.py bpo-40275: Use new test.support helper submodules in tests (GH-21772) 2020-08-07 23:55:35 +02:00