KEMBAR78
[3.12] gh-119050: Add XML support to libregrtest refleak checker (#119148) by vstinner · Pull Request #119272 · python/cpython · GitHub
Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner 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)

…on#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)
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.

1 participant