-
-
Notifications
You must be signed in to change notification settings - Fork 31k
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
gh-63882: Adds tests for xml.dom.minidom #24152
Conversation
id in the _repr_ method doesn't seem that useful when sending back a NodeList Adds also docstrings to some methods.
it also removes the old tests so we get more regular tests
Removes the old tests. Adds new tests in a regular form and testing more cases Adds docstring
These tests are useless for now. We will be adding them again later with proper code.
Some parts of the function were not tested. This is fixing it.
* Convert old tests to have a regular form * Adds new tests to cover more cases.
* Adds tests for removeChild * Remove old tests * Fix the docstring for removeChild and replaceChild
This PR is stale because it has been open for 30 days with no activity. |
The merge conflict is a result of new imports for pyexpat and parsers...ExpatError in main. I could easily fix the conflict, but I really do not like putting multiple imports from one module in separate lines and would undo an revise that change also at the same time. |
I consider this unreviewable until split into multiple PRs. See #63882 (comment) |
I can't work on this anymore. Unfortunately. |
@karlcow Thank you for this draft. The docstring additions have been moved to a new issue #128508 and PR #128477 for revisions. You are listed on the latter as a co-author. The empty tests should be commented out until replaced, not removed. A new PR should close the issue. The revised tests, fixing names and code, should be moved to another new issue. With this is done, the tests for class methods should be put in separate TestCase classes. MinidomTest should only have the module function tests. |
This is a work in progress not yet ready for review.
https://bugs.python.org/issue19683