MCPcopy
hub / github.com/pydata/xarray / test_open_mfdataset_no_files

Method test_open_mfdataset_no_files

xarray/tests/test_backends.py:5996–6001  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5994
5995 @requires_fsspec
5996 def test_open_mfdataset_no_files(self) -> None:
5997 pytest.importorskip("aiobotocore")
5998
5999 # glob is attempted as of #4823, but finds no files
6000 with pytest.raises(OSError, match=r"no files"):
6001 open_mfdataset("http://some/remote/uri", engine="zarr")
6002
6003 def test_open_mfdataset_2d(self) -> None:
6004 original = Dataset({"foo": (["x", "y"], np.random.randn(10, 8))})

Callers

nothing calls this directly

Calls 1

open_mfdatasetFunction · 0.90

Tested by

no test coverage detected