Skip to content

Commit

Permalink
name test file test.empty.h5 to ignore it
Browse files Browse the repository at this point in the history
  • Loading branch information
flying-sheep committed Dec 12, 2018
1 parent 7b1077d commit f5c3293
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions anndata/tests/test_readwrite.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,6 @@ def test_write_csv(typ):
])
def test_readwrite_hdf5_empty(read, write):
adata = ad.AnnData(uns=dict(empty=np.array([], dtype=float)))
write(adata, HERE / 'empty.h5')
ad_read = read(HERE / 'empty.h5')
write(adata, HERE / 'test.empty.h5')
ad_read = read(HERE / 'test.empty.h5')
assert ad_read.uns['empty'].shape == (0,)

0 comments on commit f5c3293

Please sign in to comment.