#NEWLINE# def test_split_ret_type( self ) : #NEWLINE# #INDENT# ( train_idx , val_idx ) = du . get_train_val_split_from_idx ( [ 0 , 1 , 2 ] , [ 1 ] ) #NEWLINE# assert_is_not_none ( train_idx ) #NEWLINE# assert_is_instance ( train_idx , list ) #NEWLINE# assert_is_not_none ( self ) #NEWLINE# assert_is_instance ( val_idx , list )