def METHOD_NAME() -> None:
    class AnIntConfig(Config):
        an_int: int = Field(ge=0, le=10)
    AnIntConfig(an_int=5)
    AnIntConfig(an_int=10)
    AnIntConfig(an_int=0)
    with pytest.raises(ValidationError, match="ensure this value is less than or equal to 10"):
        AnIntConfig(an_int=11)
    with pytest.raises(ValidationError, match="ensure this value is greater than or equal to 0"):
        AnIntConfig(an_int=-1)