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

Function test_normalize_token_with_backend

xarray/tests/test_dask.py:1682–1687  ·  view source on GitHub ↗
(map_ds)

Source from the content-addressed store, hash-verified

1680
1681@requires_scipy_or_netCDF4
1682def test_normalize_token_with_backend(map_ds):
1683 with create_tmp_file(allow_cleanup_failure=ON_WINDOWS) as tmp_file:
1684 map_ds.to_netcdf(tmp_file)
1685 read = xr.open_dataset(tmp_file)
1686 assert dask.base.tokenize(map_ds) != dask.base.tokenize(read)
1687 read.close()
1688
1689
1690@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 4

create_tmp_fileFunction · 0.90
to_netcdfMethod · 0.45
open_datasetMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…