def METHOD_NAME(self, model_name_and_config):
    model_name, config = model_name_and_config
    with raises(TypeError):
        _ = ModelForDownstreamTasks.from_pretrained(model_name,
                                                    config=config,
                                                    task_heads=EXTRACTIVE_HEAD)