Skip to content

Commit 538d4dd

Browse files
committed
Check we can add new elements to a ArraySequence loaded from disk
1 parent 3fc0593 commit 538d4dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nibabel/streamlines/tests/test_array_sequence.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,3 +323,6 @@ def test_save_and_load_arraysequence(self):
323323
assert_array_equal(loaded_seq._data, seq._data)
324324
assert_array_equal(loaded_seq._offsets, seq._offsets)
325325
assert_array_equal(loaded_seq._lengths, seq._lengths)
326+
327+
# Make sure we can add new elements to it.
328+
loaded_seq.append(SEQ_DATA['data'][0])

0 commit comments

Comments
 (0)