Skip to content

[MRG+1] clean up deprecation warning stuff in common tests - #7368

Merged
NelleV merged 1 commit into
scikit-learn:masterfrom
amueller:deprecation_warnings_tests
Sep 22, 2016
Merged

NelleV merged 1 commit into
scikit-learn:masterfrom
amueller:deprecation_warnings_tests

Conversation

@amueller

@amueller amueller commented Sep 8, 2016

Copy link
Copy Markdown
Member

This gets rid of all deprecation warnings in the common tests....

@amueller amueller added this to the 0.18 milestone Sep 8, 2016
@jnothman

jnothman commented Sep 9, 2016

Copy link
Copy Markdown
Member

It looks safe enough. LGTM

@jnothman jnothman changed the title clean up deprecation warning stuff in common tests [MRG+1] clean up deprecation warning stuff in common tests Sep 9, 2016
@tguillemot

Copy link
Copy Markdown
Contributor

LGTM

@amueller

Copy link
Copy Markdown
Member Author

@ogrisel ?

@aabadie

aabadie commented Sep 22, 2016

Copy link
Copy Markdown
Contributor

@amueller, @ogrisel, I can give a hand on this one if needed.
First, I see that it needs a rebase.

@aabadie

aabadie commented Sep 22, 2016

Copy link
Copy Markdown
Contributor

Just asking: why using @ignore_warnings decorator sometimes and with ignore_warnings(): context manager the other times. Is it possible to use the same one everywhere ? (+1 for decorator)

@amueller

Copy link
Copy Markdown
Member Author

the decorator blocks more warnings. The context manager only ignores the ones within the specific instructions. I would try to ignore as few as possible so we get warnings from numpy for example.

@aabadie

aabadie commented Sep 22, 2016

Copy link
Copy Markdown
Contributor

the decorator blocks more warnings. The context manager only ignores the ones within the specific instructions. I would try to ignore as few as possible so we get warnings from numpy for example.

Makes sense. For me this branch only requires a rebase.

minor fixes in preprocessing tests
@amueller
amueller force-pushed the deprecation_warnings_tests branch from 4f04876 to 1dff0ae Compare September 22, 2016 14:06
@NelleV
NelleV merged commit c9e227b into scikit-learn:master Sep 22, 2016
@amueller
amueller deleted the deprecation_warnings_tests branch May 19, 2017 20:23
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.

6 participants