Skip to content

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

Merged
juliantaylor merged 1 commit into
numpy:masterfrom
charris:disable-some-test-warnings
Sep 2, 2014
Merged

juliantaylor merged 1 commit into
numpy:masterfrom
charris:disable-some-test-warnings

Conversation

@charris

@charris charris commented Aug 29, 2014

Copy link
Copy Markdown
Member

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
Copy Markdown
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