diff options
author | Jon Morris <jontwo@users.noreply.github.com> | 2022-06-24 16:51:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-24 11:51:36 -0400 |
commit | cafec60a5e28af98fb8798049edd7942720d2d74 (patch) | |
tree | 00d6ea28360e1a59972d07de162bd97e782b2b24 /numpy/testing/_private/utils.pyi | |
parent | 019c8c9b2a7c084eb01cf4d8569799a5537d884d (diff) | |
download | numpy-cafec60a5e28af98fb8798049edd7942720d2d74.tar.gz |
ENH: Add strict parameter to assert_array_equal. (#21595)
Fixes #9542
Co-authored-by: Bas van Beek <43369155+BvB93@users.noreply.github.com>
Diffstat (limited to 'numpy/testing/_private/utils.pyi')
-rw-r--r-- | numpy/testing/_private/utils.pyi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/testing/_private/utils.pyi b/numpy/testing/_private/utils.pyi index 0be13b729..6e051e914 100644 --- a/numpy/testing/_private/utils.pyi +++ b/numpy/testing/_private/utils.pyi @@ -200,6 +200,8 @@ def assert_array_compare( precision: SupportsIndex = ..., equal_nan: bool = ..., equal_inf: bool = ..., + *, + strict: bool = ... ) -> None: ... def assert_array_equal( @@ -207,6 +209,8 @@ def assert_array_equal( y: ArrayLike, err_msg: str = ..., verbose: bool = ..., + *, + strict: bool = ... ) -> None: ... def assert_array_almost_equal( |