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

Function test_nested_integer_encoding_rejected

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

Source from the content-addressed store, hash-verified

551
552
553def test_nested_integer_encoding_rejected():
554 with pytest.raises(TypeNotCompatibleError):
555 compat_ser_de(
556 RemoteNestedFixedTagged,
557 LocalNestedVarint,
558 RemoteNestedFixedTagged(values={1: [2, -3], -4: [5]}),
559 702,
560 )
561
562
563def test_nested_integer_narrowing_rejected():

Callers

nothing calls this directly

Calls 2

compat_ser_deFunction · 0.85

Tested by

no test coverage detected