def METHOD_NAME():
    """
    TypeError must be thrown when calling _sparse_nanmean with a dense matrix
    """
    from scanpy.tools._score_genes import _sparse_nanmean
    with pytest.raises(TypeError):
        _sparse_nanmean(np.random.rand(4, 5), 0)