def METHOD_NAME():
    """Test unsupported discrete prior message"""
    dim = Integer("yolo", "norm", 0, 1)
    with pytest.raises(TypeError) as exc:
        discrete_grid(dim, 6)
    assert exc.match("Grid Search only supports `loguniform`, `uniform`")