cpython/Lib/test/libregrtest
Miss Islington (bot) 42a8d11752
[3.13] gh-119050: Add XML support to libregrtest refleak checker (GH-119148) (#119270)
gh-119050: Add XML support to libregrtest refleak checker (GH-119148)

regrtest test runner: Add XML support to the refleak checker
(-R option).

* run_unittest() now stores XML elements as string, rather than
  objects, in support.junit_xml_list.
* runtest_refleak() now saves/restores XML strings before/after
  checking for reference leaks. Save XML into a temporary file.
(cherry picked from commit 9257731f5d)

Co-authored-by: Victor Stinner <vstinner@python.org>
2024-05-20 22:50:20 +00:00
..
__init__.py
cmdline.py [3.13] gh-119050: Add XML support to libregrtest refleak checker (GH-119148) (#119270) 2024-05-20 22:50:20 +00:00
filter.py gh-110918: Fix side effects of regrtest test_match_tests() (#116718) 2024-03-13 14:20:33 +01:00
findtests.py gh-108303: Move all pydoc related test files to new test.test_pydoc package (#114506) 2024-02-13 11:40:40 +01:00
logger.py
main.py gh-117783: Immortalize objects that use deferred reference counting (#118112) 2024-04-29 14:36:02 -04:00
mypy.ini gh-109413: libregrtest: enable mypy's --strict-optional check on most files (#112586) 2023-12-01 14:54:33 +00:00
pgo.py
refleak.py [3.13] gh-119050: Add XML support to libregrtest refleak checker (GH-119148) (#119270) 2024-05-20 22:50:20 +00:00
result.py
results.py [3.13] gh-119050: Add type hints to libregrtest/results.py (GH-119144) (#119156) 2024-05-18 21:05:58 +00:00
run_workers.py gh-117293: Fix race condition in run_workers.py (#117298) 2024-04-08 10:47:42 -04:00
runtests.py gh-115122: Add --bisect option to regrtest (#115123) 2024-02-18 20:06:39 +00:00
save_env.py
setup.py gh-109413: Run mypy on libregrtest in CI (#112558) 2023-11-30 23:00:14 +00:00
single.py [3.13] gh-119050: Add XML support to libregrtest refleak checker (GH-119148) (#119270) 2024-05-20 22:50:20 +00:00
testresult.py
tsan.py GH-112536: Add more TSan tests (#116911) 2024-03-17 09:47:14 +01:00
utils.py gh-118013: Use weakrefs for the cache key in inspect._shadowed_dict (#118202) 2024-04-24 15:55:02 +01:00
win_utils.py gh-116103: Prevent error in WindowsLoadTracker.__del__ on permission error (GH-116105) 2024-02-29 11:40:18 +01:00
worker.py gh-115122: Add --bisect option to regrtest (#115123) 2024-02-18 20:06:39 +00:00