-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Refactor str tests to reflect that str and unicode are merged in Python 3 #81005
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
Comments
Unit tests of Previously it was undesirable to disturb the structure of these tests too much as this would complicate the merging of bug fixes back to Python 2, however with Python 2 drawing near to end-of-life this is perhaps less of a concern. I would propose the following changes as a start:
I'm happy to submit a PR for this, but just wanted to get some feedback before making the changes. |
There is still the functionality common to str, bytes and bytearray. So it make sense to have the common class for testing str, bytes, bytearray and UserList and other common class (subclass of the former one) for testing str and UserList. |
Agreed. This functionality is in |
PS opened here: #13172 I haven't done the "Promote tests from the current I believe these changes are suitable for merge to master, but keen to hear feedback :-) |
…ed in Python 3 (#13172) Co-authored-by: Hugo van Kemenade <[email protected]>
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: