def METHOD_NAME(gene_pool):
    adata = _create_adata(100, 1000, p_zero=0, p_nan=0)
    with pytest.raises(ValueError, match="reference set"):
        sc.tl.score_genes(adata, adata.var_names[:3], gene_pool=gene_pool)