-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add argument check_dims to assert_allclose to allow transposed inputs (#5733) #8991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
max-sixty
merged 17 commits into
pydata:main
from
ignamv:assert_allclose_transpose_dimensions
May 5, 2024
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
cfd41ab
Add argument check_dims to assert_allclose to allow transposed inputs
ignamv 49c318c
Update whats-new.rst
ignamv c4e39f9
Add `check_dims` argument to assert_equal and assert_identical + tests
ignamv 9ea9148
Assert that dimensions match before transposing or comparing values
ignamv 0ace755
Add docstring for check_dims to assert_equal and assert_identical
ignamv 413b8bf
Update doc/whats-new.rst
ignamv 97ea491
Undo fat finger
ignamv ab677c2
Add attribution to whats-new.rst
ignamv de2d105
Replace check_dims with bool argument check_dim_order, rename align_d…
ignamv 35c1838
Remove left-over half-made test
ignamv 18d18a9
Remove check_dim_order argument from assert_identical
ignamv 3f14b21
assert_allclose/equal: emit full diff if dimensions don't match
ignamv d558165
Rename check_dim_order test, test Dataset with different dim orders
ignamv bfa5e92
Update whats-new.rst
ignamv b8153a6
Merge remote-tracking branch 'upstream/main' into assert_allclose_tra…
ignamv 555a626
Hide maybe_transpose_dims from Pytest traceback
ignamv eb66fd2
Ignore mypy error due to missing functools.partial.__name__
ignamv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.