(obj, **kwargs)
| 4971 | def test_dump_load_oob_buffers(self): |
| 4972 | # Test out-of-band buffers (PEP 574) with top-level dump() and load() |
| 4973 | def dumps(obj, **kwargs): |
| 4974 | f = io.BytesIO() |
| 4975 | self.dump(obj, f, **kwargs) |
| 4976 | return f.getvalue() |
| 4977 | |
| 4978 | def loads(data, **kwargs): |
| 4979 | f = io.BytesIO(data) |
no test coverage detected