KEMBAR78
[3.13] gh-119050: Add XML support to libregrtest refleak checker (GH-119148) by miss-islington · Pull Request #119270 · python/cpython · GitHub
Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 20, 2024

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 9257731)

Co-authored-by: Victor Stinner vstinner@python.org

…onGH-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 9257731)

Co-authored-by: Victor Stinner <vstinner@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants