cpython/Lib/test/libregrtest
Victor Stinner ec5743b5f2
[3.12] gh-119050: Add XML support to libregrtest refleak checker (#119148) (#119272)
gh-119050: Add XML support to libregrtest refleak checker (#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)
2024-05-20 22:56:34 +00:00
..
__init__.py
cmdline.py [3.12] gh-119050: Add XML support to libregrtest refleak checker (#119148) (#119272) 2024-05-20 22:56:34 +00:00
filter.py [3.12] gh-110918: Fix side effects of regrtest test_match_tests() (GH-116718) (#116726) 2024-03-13 14:16:23 +00:00
findtests.py [3.12] gh-108303: Move all pydoc related files to test_pydoc (GH-114506) (#115502) 2024-02-15 16:35:56 +03:00
logger.py
main.py [3.12] gh-83434: Sync libregrtest and test_regrtest with the main branch (#117250) 2024-03-26 08:04:28 +00:00
mypy.ini [3.12] gh-109413: libregrtest: enable mypy's --strict-optional check on most files (#112586) (#112602) 2023-12-01 17:13:22 +00:00
pgo.py
refleak.py [3.12] gh-119050: Add XML support to libregrtest refleak checker (#119148) (#119272) 2024-05-20 22:56:34 +00:00
result.py
results.py [3.12] gh-119050: Add type hints to libregrtest/results.py (GH-119144) (#119157) 2024-05-18 21:06:41 +00:00
run_workers.py [3.12] chore: fix typos (#116345) (#116370) 2024-03-05 18:51:17 +00:00
runtests.py [3.12] gh-83434: Sync libregrtest and test_regrtest with the main branch (#117250) 2024-03-26 08:04:28 +00:00
save_env.py
setup.py [3.12] gh-109413: libregrtest: Backport .py-file changes from #112558 (#112605) 2023-12-01 18:54:38 +00:00
single.py [3.12] gh-119050: Add XML support to libregrtest refleak checker (#119148) (#119272) 2024-05-20 22:56:34 +00:00
testresult.py
tsan.py [3.12] gh-112536: Add --tsan test for reasonable TSAN execution times. (gh-116601) (#116929) 2024-03-18 10:22:19 +01:00
utils.py [3.12] gh-118013: Use weakrefs for the cache key in inspect._shadowed_dict (GH-118202) (#118232) 2024-04-24 15:27:08 +00:00
win_utils.py [3.12] gh-116103: Prevent error in WindowsLoadTracker.__del__ on permission error (GH-116105) (GH-116120) 2024-02-29 14:43:05 +00:00
worker.py [3.12] gh-83434: Sync libregrtest and test_regrtest with the main branch (#117250) 2024-03-26 08:04:28 +00:00