Skip to content

Commit 366a370

Browse files
committed
fixed append test for SparseDataset
1 parent 19cbe1b commit 366a370

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

anndata/tests/h5py_.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ def test_dataset_append():
6262
appended_matrix = ss.vstack((sparse_matrix, to_append))
6363

6464
with h5py.File(h5_path) as h5f:
65-
h5f.create_dataset('matrix', data=sparse_matrix, chunks=(100000,),
66-
maxshape=(None,))
65+
h5f.create_dataset('matrix', data=sparse_matrix, chunks=(100000,))
6766
h5f['matrix'].append(to_append)
6867
assert (h5f['matrix'].value != appended_matrix).size == 0
6968

0 commit comments

Comments
 (0)