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

Method test_extract_h5nc_encoding

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

Source from the content-addressed store, hash-verified

6754
6755 @pytest.mark.xfail
6756 def test_extract_h5nc_encoding(self) -> None:
6757 # not supported with h5netcdf (yet)
6758 var = xr.Variable(("x",), [1, 2, 3], {}, {"least_significant_digit": 2})
6759 with pytest.raises(ValueError, match=r"unexpected encoding"):
6760 _extract_nc4_variable_encoding(var, raise_on_invalid=True)
6761
6762
6763class MiscObject:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected