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

Function test_CFMask_coder_roundtrip

properties/test_encode_decode.py:27–30  ·  view source on GitHub ↗
(original)

Source from the content-addressed store, hash-verified

25@pytest.mark.slow
26@given(original=variables())
27def test_CFMask_coder_roundtrip(original) -> None:
28 coder = xr.coding.variables.CFMaskCoder()
29 roundtripped = coder.decode(coder.encode(original))
30 xr.testing.assert_identical(original, roundtripped)
31
32
33@pytest.mark.xfail

Callers

nothing calls this directly

Calls 2

decodeMethod · 0.95
encodeMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…