MCPcopy Create free account
hub / github.com/apache/fory / test_compatible_scalar_conversion_errors

Function test_compatible_scalar_conversion_errors

python/pyfory/tests/test_struct.py:467–470  ·  view source on GitHub ↗
(remote_cls, local_cls, value)

Source from the content-addressed store, hash-verified

465 ],
466)
467def test_compatible_scalar_conversion_errors(remote_cls, local_cls, value):
468 _, reader, payload = compat_ser(remote_cls, local_cls, value, 732)
469 with pytest.raises(ForyInvalidDataError):
470 reader.deserialize(payload)
471
472
473def test_compatible_scalar_optional_composition():

Callers

nothing calls this directly

Calls 2

compat_serFunction · 0.85
deserializeMethod · 0.65

Tested by

no test coverage detected