def test_invalid_inputs(self):
        for input_value, expected_failure in get_items(self.invalid_inputs):
            with pytest.raises(serializers.ValidationError) as exc_info:
                self.field.run_validation(input_value)
            assert exc_info.value.detail == expected_failure
Predict class labels for X.
dataset/ETHPy150Open tomchristie/django-rest-framework/tests/test_fields.py/FieldValues.test_invalid_inputs--crossover with--dataset/ETHPy150Open rasbt/mlxtend/mlxtend/classifier/ensemble_vote.py/EnsembleVoteClassifier.predict