File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
nibabel/streamlines/tests Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,8 @@ def test_creating_arraysequence_from_generator(self):
9797 seq_with_buffer = ArraySequence (gen_2 , buffer_size = 256 )
9898
9999 # Check buffer size effect
100- assert_true (seq_with_buffer .data .shape [ 0 ] > seq .data .shape [ 0 ] )
101- assert_equal (seq_with_buffer .common_shape , seq .common_shape )
100+ assert_equal (seq_with_buffer .data .shape , seq .data .shape )
101+ assert_true (seq_with_buffer ._buffer_size > seq ._buffer_size )
102102
103103 # Check generator result
104104 check_arr_seq (seq , SEQ_DATA ['data' ])
@@ -328,4 +328,5 @@ def test_concatenate():
328328 seqs = [seq [:, [i ]] for i in range (seq .common_shape [0 ])]
329329 new_seq = concatenate (seqs , axis = 0 )
330330 assert_true (len (new_seq ), seq .common_shape [0 ] * len (seq ))
331- assert_array_equal (new_seq ._data , seq ._data .T .reshape ((- 1 , 0 )))
331+ assert_array_equal (new_seq ._data , seq ._data .T .reshape ((- 1 , 1 )))
332+
You can’t perform that action at this time.
0 commit comments