Skip to content

fix expected np.arctan2() exception for numpy 1.21#1

Open
apdavison wants to merge 1 commit intoNeuralEnsemble:strict-testsfrom
mgorny:numpy-fix
Open

fix expected np.arctan2() exception for numpy 1.21#1
apdavison wants to merge 1 commit intoNeuralEnsemble:strict-testsfrom
mgorny:numpy-fix

Conversation

@apdavison
Copy link
Copy Markdown
Member

NumPy 1.21 has changed the exception type for incorrect np.arctan2()
arguments from ValueError to TypeError. Adjust the test appropriately.

Fixes python-quantities#190

NumPy 1.21 has changed the exception type for incorrect np.arctan2()
arguments from ValueError to TypeError.  Adjust the test appropriately.

Fixes python-quantities#190
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.

2 participants