diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-05-20 22:50:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-20 22:50:20 (GMT) |
commit | 42a8d1175240f911727411a61d812b767203c133 (patch) | |
tree | 6bace352abe1ba9509f830097a3f7fcbb84a90c3 /Misc | |
parent | 071d996e13d5499b3a0590a4a874e4bbe7fb86bf (diff) | |
download | cpython-42a8d1175240f911727411a61d812b767203c133.zip cpython-42a8d1175240f911727411a61d812b767203c133.tar.gz cpython-42a8d1175240f911727411a61d812b767203c133.tar.bz2 |
[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 9257731f5d3e9d4f99e314b23a14506563e167d7)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Tests/2024-05-18-10-59-27.gh-issue-119050.g4qiH7.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2024-05-18-10-59-27.gh-issue-119050.g4qiH7.rst b/Misc/NEWS.d/next/Tests/2024-05-18-10-59-27.gh-issue-119050.g4qiH7.rst new file mode 100644 index 0000000..cfc70c1 --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2024-05-18-10-59-27.gh-issue-119050.g4qiH7.rst @@ -0,0 +1,2 @@ +regrtest test runner: Add XML support to the refleak checker (-R option). +Patch by Victor Stinner. |