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

Function test_multi_chunk_complex_dict

python/pyfory/tests/test_serializer.py:129–134  ·  view source on GitHub ↗
(track_ref)

Source from the content-addressed store, hash-verified

127
128@pytest.mark.parametrize("track_ref", [False, True])
129def test_multi_chunk_complex_dict(track_ref):
130 fory = Fory(xlang=False, ref=track_ref, compatible=False)
131 now = datetime.datetime.now(datetime.timezone.utc)
132 day = datetime.date(2021, 11, 23)
133 dict0 = {"a": "a", 1: 1, -1.0: -1.0, True: True, now: now, day: day} # noqa: F601
134 assert ser_de(fory, dict0) == dict0
135
136
137@pytest.mark.parametrize("track_ref", [False, True])

Callers

nothing calls this directly

Calls 2

ForyClass · 0.90
ser_deFunction · 0.70

Tested by

no test coverage detected