From 4e710c5be093eb4367b4a08d9068f99f9070870d Mon Sep 17 00:00:00 2001 From: Mark Harfouche Date: Mon, 16 Jan 2023 02:37:55 -0500 Subject: DOC: Add version added information for the strict parameter in assert_array_equal (#23015) --- numpy/testing/_private/utils.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'numpy/testing/_private/utils.py') diff --git a/numpy/testing/_private/utils.py b/numpy/testing/_private/utils.py index 45400856b..2a2126503 100644 --- a/numpy/testing/_private/utils.py +++ b/numpy/testing/_private/utils.py @@ -899,6 +899,8 @@ def assert_array_equal(x, y, err_msg='', verbose=True, *, strict=False): type of the array_like objects does not match. The special handling for scalars mentioned in the Notes section is disabled. + .. versionadded:: 1.24.0 + Raises ------ AssertionError -- cgit v1.2.1