Actually this test seems wrong. `decision_function_ovo` already returns an array of shape `(n_samples, n_classes)`.