8000 DOC: TESTS.rst: suggest np.testing assertion function strict=True by mdhaber · Pull Request #24848 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

DOC: TESTS.rst: suggest np.testing assertion function strict=True #24848

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

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

mdhaber
Copy link
Contributor
@mdhaber mdhaber commented Oct 3, 2023

In #24667 (comment), @seberg commented that TESTS.RST could suggest the use of kwarg strict=True with np.testing assertion functions.

At the time, parameter strict was only implemented for assert_array_equal, but now it is available for the three assertion functions recommended in TESTS.RST.

This PR implements the comment.

@mattip mattip merged commit 0f40795 into numpy:main Oct 5, 2023
@mattip
Copy link
Member
mattip commented Oct 5, 2023

Thanks @mdhaber

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0