(track_ref)
| 116 | |
| 117 | @pytest.mark.parametrize("track_ref", [False, True]) |
| 118 | def test_multi_chunk_simple_dict(track_ref): |
| 119 | fory = Fory(xlang=False, ref=track_ref, compatible=False) |
| 120 | dict0 = { |
| 121 | 1: 2.0, |
| 122 | 2: 3, |
| 123 | 4.0: True, |
| 124 | } |
| 125 | assert ser_de(fory, dict0) == dict0 |
| 126 | |
| 127 | |
| 128 | @pytest.mark.parametrize("track_ref", [False, True]) |