GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||
GeezerVison is showing github.com — gh-63882: Comment out empty `test_minidom` tests by srinivasreddy · Pull Request #128948 · python/cpython Conversation
|
|
This is the second item from the action items proposed by @terryjreedy (#63882 (comment))
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@terryjreedy (I can’t request a review in any other way) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I think all of them are included. Looks good to me!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Why are we using |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@picnixz This was requested by Terry in his comment on the issue. I guess it is easier to find them? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
test_minidom tests
|
I think I'll me comfortable with an explicit "TODO" since we also used Ok, I've seen that #63882 (comment) is actually the comment that explained the different steps to do (it was hidden by GH). So there's a plan to implement something. If the tests are meant to be implemented in a short future, |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Double hashes, '##', are an old standard for (temporarily) commenting out code with something other than normal code comments. I added a "# TODO" comment.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Make the first 3 tests 1 line as with all the others.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
These stubs have been present for 25 years, since Python 2.0! I'd rather see tests added rather than commented out. If not added, let's delete them otherwise I can see these being around until 2050 🙃 Quoting @voidspace:
https://opensource.com/article/17/5/30-best-practices-software-development-and-testing |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
There is actually already a patch that would add some of them: https://bugs.python.org/file33258/issue19683.patch Tough I am not sure who submitted it. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Maybe checking the old bpo page helps? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Some of these tests have been implemented. Surprisingly not a merge conflict.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This PR is stale because it has been open for 30 days with no activity. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thank you for the patch. Commenting the tests out was the right thing while there was no replacement, but they are implemented now in #156677, so this is no longer needed. The |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.