Skip to content
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

TST: Silence some warning that turns up on OpenBSD. #5020

Merged
merged 1 commit into from Sep 2, 2014

Conversation

charris
Copy link
Member

@charris charris commented Aug 29, 2014

On OpenBSD with gcc-4.2 log1p(nan) raises an invalid value warning.
This PR disables both 'divide' and 'invalid' for the log1p tests.

Closes #5017.

Rebased for backport to 1.9.

On OpenBSD with gcc-4.2 log1p(nan) raises an invalid value warning.
This PR disables both 'divide' and 'invalid' for the log1p tests.

Closes numpy#5017.
@juliantaylor
Copy link
Contributor

thanks

juliantaylor added a commit that referenced this pull request Sep 2, 2014
TST: Silence some warning that turns up on OpenBSD.
@juliantaylor juliantaylor merged commit 588bcc4 into numpy:master Sep 2, 2014
juliantaylor added a commit that referenced this pull request Sep 2, 2014
TST: Silence some warning that turns up on OpenBSD.
@charris charris deleted the disable-some-test-warnings branch September 2, 2014 22:07
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.

ncu.log1p(np.nan) produces a RuntimeWarning
2 participants