Skip to content

Commit

Permalink
Remove unused and wrong test (#1303)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivirshup authored Jan 15, 2024
1 parent a8f0b76 commit 86bcc36
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions anndata/tests/test_readwrite.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,15 +526,9 @@ def hash_dir_contents(dir: Path) -> dict[str, bytes]:
marks=pytest.mark.xfail(reason="Loom can’t handle 0×0 matrices"),
),
pytest.param(ad.read_zarr, ad._io.write_zarr, "test_empty.zarr"),
pytest.param(
ad.read_zarr,
ad._io.write_zarr,
"test_empty.zip",
marks=pytest.mark.xfail(reason="Zarr zip storage doesn’t seem to work…"),
),
],
)
def test_readwrite_hdf5_empty(read, write, name, tmp_path):
def test_readwrite_empty(read, write, name, tmp_path):
adata = ad.AnnData(uns=dict(empty=np.array([], dtype=float)))
write(tmp_path / name, adata)
ad_read = read(tmp_path / name)
Expand Down

0 comments on commit 86bcc36

Please sign in to comment.