Ejemplo n.º 1
0
def test_pack_json():
    assert Buffer.pack_json({"spam": "eggs"}) == b'\x10{"spam": "eggs"}'