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
Update PEP 399 to allow for test discovery #61039
Comments
Don't have the base tests inherit from TestCase else they will be discovered by unittest and run even though they are not fully defined. See http://bugs.python.org/issue16748 as the trigger for this issue. |
Here's a patch:
|
Hey Ezio, you forgot to attach the patch |
That would explain why no one was reviewing it :) |
A few minor grammatical and style nits in the prose added at the end of the diff:
I think that should be "Python or C version" (and -> or; versions -> version).
"to be" should be "from being", I believe.
This should either have another newline inbetween or be reflowed. Either one paragraph or two makes sense to me, but I can't tell which way you actually meant it to go which makes for confusing reading of the ReST source. As far as the example code changes, those look good to me :) |
Thanks for the review, new patch attached.
I meant one and half :) |
You're quite welcome. Is there anything I've missed in the process of reviewing itself? This is the first time I've reviewed a patch here... I did miss another nit in the prose, though; "the tests methods" in the first line isn't quite right, but I can't decide if it should be "the test's methods" (singular possessive), "the tests' methods" (plural possessive), or "test methods" (non-specific, non-possessive). Any of the three that better gets your point across makes me happy :)
I see. As is works for me if it works for you, though I might lean towards rounding it up to 2 paragraphs :) |
Attached a new patch. |
Looks good to me :) |
LGTM as well. Feel free to commit it, Ezio, or assign to me and I will commit it later (probably this weekend). |
Done in http://hg.python.org/peps/rev/3740f42d3b94, thanks for the reviews! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: