Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Add strict parameter to assert_array_equal. (#21595)
Fixes #9542 Co-authored-by: Bas van Beek <43369155+BvB93@users.noreply.github.com>
- Loading branch information
Showing
4 changed files
with
92 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
``strict`` option for `testing.assert_array_equal` | ||
-------------------------------------------------- | ||
The ``strict`` option is now available for `testing.assert_array_equal`. | ||
Setting ``strict=True`` will disable the broadcasting behaviour for scalars and | ||
ensure that input arrays have the same data type. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters