Skip to content

Conversation

@aditya1702
Copy link
Contributor

@aditya1702 aditya1702 commented Apr 25, 2019

Reference Issues/PRs

Fixes #13650

What does this implement/fix? Explain your changes.

Removes np.seterr calls

@aditya1702 aditya1702 changed the title [WIP] Remove np.seterr calls in test files- [MRG] Remove np.seterr calls in test files- Apr 25, 2019
@aditya1702
Copy link
Contributor Author

@NicolasHug @jnothman The tests are passing with np.seterr removed. We can remove the statements



np.seterr(all='warn')
# np.seterr(all='warn')
Copy link
Member

Choose a reason for hiding this comment

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

please remove them entirely then, not just uncomment ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@NicolasHug Commented them to just test the changes. Removed them now

@aditya1702 aditya1702 changed the title [MRG] Remove np.seterr calls in test files- [MRG] Remove np.seterr calls in test files Apr 25, 2019
Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

LGTM if all goes green!

@aditya1702
Copy link
Contributor Author

@NicolasHug Can be merged

@glemaitre glemaitre merged commit 6a3fc95 into scikit-learn:master Apr 26, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
marcelobeckmann pushed a commit to marcelobeckmann/scikit-learn that referenced this pull request May 1, 2019
marcelobeckmann pushed a commit to marcelobeckmann/scikit-learn that referenced this pull request May 1, 2019
@aditya1702 aditya1702 deleted the avoid-global-seterr branch May 2, 2019 15:42
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
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.

Should avoid global seterr calls in test files

3 participants