From 4db8f0d6cbe6dac9a95081bfaceef9a431b9a220 Mon Sep 17 00:00:00 2001 From: Mark Harfouche Date: Mon, 16 Jan 2023 02:37:55 -0500 Subject: [PATCH] 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(+) diff --git a/numpy/testing/_private/utils.py b/numpy/testing/_private/utils.py index 45400856b733..2a2126503058 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