From bb4b6c481b5dad0ba705accfead6f28350c5e551 Mon Sep 17 00:00:00 2001 From: Emphor <022dakshy@gmail.com> Date: Tue, 17 Mar 2026 17:12:16 +0530 Subject: [PATCH] Fix incorrect error message for invalid cache_format in get_dataset --- openml/datasets/functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openml/datasets/functions.py b/openml/datasets/functions.py index 432938520..3f482612c 100644 --- a/openml/datasets/functions.py +++ b/openml/datasets/functions.py @@ -456,7 +456,7 @@ def get_dataset( # noqa: C901, PLR0912 if cache_format not in ["feather", "pickle"]: raise ValueError( - "cache_format must be one of 'feather' or 'pickle. " + "cache_format must be one of 'feather' or 'pickle'. " f"Invalid format specified: {cache_format}", )