Skip to content

Commit a0426e6

Browse files
Merge branch 'main' into feat/spatial_neighbours
2 parents 3bbc535 + 9aa7c09 commit a0426e6

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

tests/graph/test_ligrec.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,6 @@ def test_adata_no_raw(self, adata: AnnData):
3535
with pytest.raises(AttributeError, match=r"No `.raw` attribute"):
3636
ligrec(adata, _CK, use_raw=True)
3737

38-
def test_raw_has_different_n_obs(self, adata: AnnData):
39-
adata.raw = blobs(n_observations=adata.n_obs + 1)
40-
# raise below happend with anndata < 0.9
41-
# with pytest.raises(ValueError, match=rf"Expected `{adata.n_obs}` cells in `.raw`"):
42-
with pytest.raises(ValueError, match=rf"Index length mismatch: {adata.n_obs} vs. {adata.n_obs + 1}"):
43-
ligrec(adata, _CK)
44-
4538
def test_invalid_cluster_key(self, adata: AnnData, interactions: Interactions_t):
4639
with pytest.raises(KeyError, match=r"Cluster key `foobar` not found"):
4740
ligrec(adata, cluster_key="foobar", interactions=interactions)

0 commit comments

Comments
 (0)