#NEWLINE# def test_raise_value_error_multilabel_sequences( ) : #NEWLINE# #INDENT# multilabel_sequences = [ [ [ 0 , 1 ] ] , [ [ 1 ] , [ 2 ] , [ 0 , 1 ] ] , [ ( ) , 2 , ( 0 , 1 ) ] , [ [ ] ] , [ ( ) ] , np . array ( [ [ ] , [ 1 , 2 ] ] , dtype = 'object' ) ] #NEWLINE# for name in MULTILABELS_METRICS : #NEWLINE# #INDENT# metric = ALL_METRICS [ seq ] #NEWLINE# for seq in multilabel_sequences : #NEWLINE# #INDENT# assert_raises ( ValueError , metric , seq , seq )