def METHOD_NAME(variant_scalar_rgb):
    film = mi.load_dict({
        'type': 'hdrfilm',
        'width': 3,
        'height': 2,
    })
    with pytest.raises(RuntimeError, match=r'prepare\(\)'):
        _ = film.develop()