def METHOD_NAME():
    schema = {
        "type": "object",
        "properties": {"foo": {"type": "string", "x-nullable": False}},
    }
    with pytest.raises(ValidationError):
        Draft4RequestValidator(schema).validate({"foo": None})