Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.13] gh-119050: Add XML support to libregrtest refleak checker (GH-119148) #119270

Merged
merged 1 commit into from
May 20, 2024

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>
@vstinner vstinner enabled auto-merge (squash) May 20, 2024 21:07
@vstinner vstinner merged commit 42a8d11 into python:3.13 May 20, 2024
43 checks passed
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