Skip to content

TST Remove test functions defined twice - #15220

Merged
rth merged 1 commit into
scikit-learn:masterfrom
deeplook:remove_stuff_defined_twice
Oct 12, 2019
Merged

rth merged 1 commit into
scikit-learn:masterfrom
deeplook:remove_stuff_defined_twice

Conversation

@deeplook

Copy link
Copy Markdown
Contributor

I was running mypy --ignore-missing-imports . | grep "already defined" for thrills on sklearn and found these two functions being defined twice in preprocessing/tests/test_encoders.py. I would recommend using mypy more, even without adding type annotations everywhere...

@rth rth left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Indeed, thanks @deeplook!

@rth rth changed the title Remove functions defined twice TST Remove test functions defined twice Oct 12, 2019
@rth
rth merged commit 6d53d06 into scikit-learn:master Oct 12, 2019
@deeplook
deeplook deleted the remove_stuff_defined_twice branch October 13, 2019 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants