def test_invalid_inputs(self):
        """
        Ensure that invalid values raise the expected validation error.
        """
        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 in expected_failure
dataset/ETHPy150Open Hipo/drf-extra-fields/tests/test_fields.py/FieldValues.test_invalid_inputs/operator `==` -> `in`