def METHOD_NAME():
    # Note that tuple catches a potential bug with using "'foo' % arg" for
    # formatting.
    for value in ("foobar", "htt p://example.com", None, 1234, ()):
        with pytest.raises(exceptions.ValidationError):
            validation.check_uri(value)