def test_sensitivity_specificity_error_multilabels():
 y_true = [1, 3, 3, 2]
 y_pred = [1, 1, 3, 2]
 y_true_bin = label_binarize(y_true, classes=np.arange(5))
 y_pred_bin = label_binarize(y_pred, classes=np.arange(5))
 assert_raises(ValueError, sensitivity_score, y_true_bin, y_pred_bin)

def test_sensitivity_specificity_error_multilabels ( ) : y_true = [ 1 , 3 , 3 , 2 ] y_pred = [ 1 , 1 , 3 , 2 ] y_true_bin = label_binarize ( y_true , classes = np . arange ( 5 ) ) y_pred_bin = label_binarize ( y_pred , classes = np . arange ( 5 ) ) assert_raises ( ValueError , sensitivity_score , y_true_bin , y_pred_bin )
test either if an error is raised when the input are multilabels .