def METHOD_NAME():
    """Try encoding a value that was not present during fitting"""
    df = cudf.Series(np.random.choice(10, (10,)))
    le = LabelEncoder().fit(df)
    assert le._fitted
    with pytest.raises(KeyError):
        le.transform(cudf.Series([-1]))