Skip to content
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

TST: Avoid xarray.dims deprecation #380

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions imap_processing/tests/mag/test_mag_decom.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ def test_mag_raw_xarray():
assert all([item is not None for _, item in burst_data.attrs.items()])

expected_norm_len = 17
assert norm_data.dims["epoch"] == expected_norm_len
assert norm_data.sizes["epoch"] == expected_norm_len

expected_burst_len = 19
assert burst_data.dims["epoch"] == expected_burst_len
assert burst_data.sizes["epoch"] == expected_burst_len


def test_mag_raw_cdf_generation():
Expand Down
Loading