def METHOD_NAME():
    pybuffer = dp3.DPBuffer()
    with pytest.raises(RuntimeError):
        pybuffer.get_data("does not exist")
    data_invalid_shape = np.array(
        [[1.5 + 4j + 2j, 3.0 + 9j, 1.1 + 33j], [27.0 + 2j, 28.0, 29.5]],
        np.csingle,
    )
    with pytest.raises(RuntimeError):
        pybuffer.set_data(data_invalid_shape)
    data = np.array(
        [
            [[1.5 + 4j + 2j, 3.0 + 9j, 1.1 + 33j], [27.0 + 2j, 28.0, 29.5]],
            [[10.3 + 4j, 4.5 + 6j, 7.8 + 3j], [33.1, 0.0 + 1j, 6.6]],
        ],
        np.csingle,
    )
    pybuffer.set_data(data)
    assert (np.array(pybuffer.get_data(), copy=False) == data).all()