From 452291d3674d4b20f03ca6aa0fd0eb41383e1326 Mon Sep 17 00:00:00 2001 From: Aishu ks Date: Thu, 13 Aug 2026 15:10:25 +0530 Subject: [PATCH] test: assert holdout task in run function tests --- tests/test_runs/test_run_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_runs/test_run_functions.py b/tests/test_runs/test_run_functions.py index 38128de30..1f48fb084 100644 --- a/tests/test_runs/test_run_functions.py +++ b/tests/test_runs/test_run_functions.py @@ -224,7 +224,7 @@ def _assert_predictions_equal(self, predictions, predictions_prime): def _rerun_model_and_compare_predictions(self, run_id, model_prime, seed, create_task_obj): run = openml.runs.get_run(run_id) - # TODO: assert holdout task + assert run.task.estimation_procedure == "holdout" # downloads the predictions of the old task file_id = run.output_files["predictions"]