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
Overlapping tests between list_tests and seq_tests #74098
Comments
Seems the CommonTests class defined in list_tests duplicates the testing performed by seq_tests.CommonTests in the following functions:
Additionally, a part of test_imul from list_tests.CommonTests can be moved to seq_tests.CommonTests. (specifically, up until Am I missing some non-obvious thing here or can I safely remove the two test functions in list_tests.CommonTests and move (while also adding a super call) part of test_imul from list_tests.CommonTests to test_imul in seq_tests.CommonTests? Some links: [1a] seq_tests test_index: Line 363 in 1e73dbb
[1b] list_tests test_index: cpython/Lib/test/list_tests.py Line 376 in 1e73dbb
[2a] seq_tests test_count: Line 344 in 1e73dbb
[2b] list_tests test_count: cpython/Lib/test/list_tests.py Line 357 in 1e73dbb
[3a] seq_tests test_imul: Line 300 in 1e73dbb
[3b] list_tests test_imul: cpython/Lib/test/list_tests.py Line 550 in 1e73dbb
|
Correction: test_index *partially* duplicates the base class method. It too can be modified to use super like test_imul. |
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: