def METHOD_NAME(val, validator_no_blanks_aok):
    with pytest.raises(ValueError) as validation_failure:
        validator_no_blanks_aok.validate_coerce(val)
    assert "A non-empty string" in str(validation_failure.value)