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
unittest lowercase methods #66446
Comments
The python unittest module currently uses camel case. This feels rather inconsistent with the rest of the python library, which is in lower case and follows PEP-8. Would it be a good idea to add lower-case aliases, and possibly deprecate the camel case methods in the future? |
We tried going down this path with the Threading module in the python3 transiontion, and it was a mess. I don't think we are going to do it for any other module. |
assertlessequal looks non-readable and assert_less_equal is two characters longer. |
This has been already proposed and rejected in the past. |
I see it's been 6 years since the last comment here. I think it's important to revisit these kind of decisions once in a while. Maybe now the time is ripe for a change? We could do it backward compatibility with a long deprecation schedule. Ezio: You said this was proposed and rejected. Can you link to the discussion? I couldn't find it. |
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: