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

Function test_nested_integer_narrowing_rejected

python/pyfory/tests/test_struct.py:563–570  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

561
562
563def test_nested_integer_narrowing_rejected():
564 with pytest.raises(TypeNotCompatibleError):
565 compat_ser_de(
566 RemoteNestedWide,
567 LocalNestedNarrow,
568 RemoteNestedWide(values={1: [2, -3]}),
569 703,
570 )
571
572
573def test_nested_signed_unsigned_rejected():

Callers

nothing calls this directly

Calls 2

compat_ser_deFunction · 0.85
RemoteNestedWideClass · 0.85

Tested by

no test coverage detected