Skip to content

bpo-36682: rename duplicate functions#12895

Merged
zooba merged 1 commit into
python:masterfrom
Windsooon:bpo-36682
Apr 22, 2019
Merged

bpo-36682: rename duplicate functions#12895
zooba merged 1 commit into
python:masterfrom
Windsooon:bpo-36682

Conversation

@Windsooon

@Windsooon Windsooon commented Apr 21, 2019

Copy link
Copy Markdown
Contributor

Rename duplicate functions

https://bugs.python.org/issue36682

@eamanu eamanu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello! IMO This aren't a duplicate functions issue. The first method is about there are not arguments.
The second method is for invalid arguments.

Furthermore, the name are not equal test_unbound_method_no_args != test_unbound_method_invalid_args

@Windsooon

Copy link
Copy Markdown
Contributor Author

@eamanu You may have a look at test_sys_setprofile.py, there are two test_unbound_method_no_args functions and two test_unbound_method_invalid_args functions.

@eamanu

eamanu commented Apr 22, 2019

Copy link
Copy Markdown
Contributor

Oh yes, I see that. Good catch!

@zooba zooba merged commit 007d0b0 into python:master Apr 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants