Skip to content

Commit

Permalink
reorder tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pgierz committed Nov 15, 2024
1 parent ec300ed commit f820489
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/meta/test_xarray_open_mfdataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,26 @@ def test_open_fesom_2p6_pimesh_esm_tools(fesom_2p6_pimesh_esm_tools_data):
assert isinstance(ds, xr.Dataset)


def test_open_fesom_2p6_pimesh_esm_tools_parallel(fesom_2p6_pimesh_esm_tools_data):
def test_open_fesom_2p6_pimesh_esm_tools_cftime(fesom_2p6_pimesh_esm_tools_data):
ds = xr.open_mfdataset(
(
f
for f in (fesom_2p6_pimesh_esm_tools_data / "outdata/fesom/").iterdir()
if f.name.startswith("temp")
),
parallel=True,
use_cftime=True,
)
assert isinstance(ds, xr.Dataset)


def test_open_fesom_2p6_pimesh_esm_tools_cftime(fesom_2p6_pimesh_esm_tools_data):
def test_open_fesom_2p6_pimesh_esm_tools_parallel(fesom_2p6_pimesh_esm_tools_data):
ds = xr.open_mfdataset(
(
f
for f in (fesom_2p6_pimesh_esm_tools_data / "outdata/fesom/").iterdir()
if f.name.startswith("temp")
),
use_cftime=True,
parallel=True,
)
assert isinstance(ds, xr.Dataset)

Expand Down

0 comments on commit f820489

Please sign in to comment.