Skip to content

Commit

Permalink
Make xarray tests Python 3.9 friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-dark committed Oct 28, 2024
1 parent b805dbb commit 1dbef35
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apis/python/tests/test_basic_xarray_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ def test_getitem_all(self, soma_variable, numpy_variable):
],
)
def test_getitem(self, soma_variable, numpy_variable, key):
actual = soma_variable[*key]
expected = numpy_variable[*key]
actual = soma_variable[key]
expected = numpy_variable[key]

assert actual.dims == expected.dims
assert actual.shape == expected.shape
Expand Down Expand Up @@ -141,8 +141,8 @@ def test_getitem_all(self, soma_variable, numpy_variable):
],
)
def test_getitem(self, soma_variable, numpy_variable, key):
actual = soma_variable[*key]
expected = numpy_variable[*key]
actual = soma_variable[key]
expected = numpy_variable[key]

assert actual.dims == expected.dims
assert actual.shape == expected.shape
Expand Down

0 comments on commit 1dbef35

Please sign in to comment.