def test_malformed_json(json_codec):
    with pytest.raises(ParseError):
        json_codec.load(b'_')
Invalid JSON should raise a ParseError.
dataset/ETHPy150Open core-api/python-client/tests/test_codecs.py/test_malformed_json