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

Function test_CharacterArrayCoder_roundtrip

xarray/tests/test_coding_strings.py:129–132  ·  view source on GitHub ↗
(original)

Source from the content-addressed store, hash-verified

127 ],
128)
129def test_CharacterArrayCoder_roundtrip(original) -> None:
130 coder = strings.CharacterArrayCoder()
131 roundtripped = coder.decode(coder.encode(original))
132 assert_identical(original, roundtripped)
133
134
135@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 3

decodeMethod · 0.95
encodeMethod · 0.95
assert_identicalFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…