summaryrefslogtreecommitdiff
path: root/numpy/testing/_private/utils.pyi
diff options
context:
space:
mode:
authorJon Morris <jontwo@users.noreply.github.com>2022-06-24 16:51:36 +0100
committerGitHub <noreply@github.com>2022-06-24 11:51:36 -0400
commitcafec60a5e28af98fb8798049edd7942720d2d74 (patch)
tree00d6ea28360e1a59972d07de162bd97e782b2b24 /numpy/testing/_private/utils.pyi
parent019c8c9b2a7c084eb01cf4d8569799a5537d884d (diff)
downloadnumpy-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.pyi4
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(