def METHOD_NAME(request):
    format, shape, density = request.param
    if format == "dense":
        return (
            np.random.default_rng()
            .standard_normal(np.prod(shape), dtype=np.float32)
            .reshape(shape)
        )
    return sp.random(10, 89, density=density, format=format, dtype=np.float32)