Skip to content

Commit

Permalink
Issue #176 XarrayDataCube tests: only test scipy engine against itself
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Feb 2, 2023
1 parent 2010fcc commit 975b1d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/udf/test_xarraydatacube.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ def _roundtrips() -> Iterator[_SaveLoadRoundTrip]:
netcdf_engines = _get_netcdf_engines()
assert len(netcdf_engines) > 0
for e1, e2 in itertools.product(netcdf_engines, netcdf_engines):
if (e1 == "scipy") != (e2 == "scipy"):
# Only test scipy engine against itself
continue
yield pytest.param(
_SaveLoadRoundTrip(
format="netcdf", save_kwargs={"engine": e1}, load_kwargs={"engine": e2}
Expand Down

0 comments on commit 975b1d3

Please sign in to comment.