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

Function _check_guess_can_open_and_open

xarray/tests/test_backends.py:7437–7440  ·  view source on GitHub ↗
(entrypoint, obj, engine, expected)

Source from the content-addressed store, hash-verified

7435
7436
7437def _check_guess_can_open_and_open(entrypoint, obj, engine, expected):
7438 assert entrypoint.guess_can_open(obj)
7439 with open_dataset(obj, engine=engine) as actual:
7440 assert_identical(expected, actual)
7441
7442
7443@requires_netCDF4

Callers 4

test_netcdf4_entrypointFunction · 0.85
test_scipy_entrypointFunction · 0.85
test_h5netcdf_entrypointFunction · 0.85
test_zarr_entrypointFunction · 0.85

Calls 3

open_datasetFunction · 0.90
assert_identicalFunction · 0.90
guess_can_openMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…