def METHOD_NAME():
    buf = m.BufferReadOnly(0x64)
    view = memoryview(buf)
    assert view[0] == b"d" if env.PY2 else 0x64
    assert view.readonly
    with pytest.raises(TypeError):
        view[0] = b"\0" if env.PY2 else 0