MCPcopy Index your code
hub / github.com/pydata/xarray / test_list_engines

Function test_list_engines

xarray/tests/test_plugins.py:318–329  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

316
317
318def test_list_engines() -> None:
319 from xarray.backends import list_engines
320
321 engines = list_engines()
322 assert list_engines.cache_info().currsize == 1
323
324 assert ("scipy" in engines) == has_scipy
325 assert ("h5netcdf" in engines) == has_h5netcdf
326 assert ("netcdf4" in engines) == has_netCDF4
327 assert ("pydap" in engines) == has_pydap
328 assert ("zarr" in engines) == has_zarr
329 assert "store" in engines
330
331
332def test_refresh_engines() -> None:

Callers

nothing calls this directly

Calls 1

list_enginesFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…