From 8f07025a034e6acb453142ddf0e1feab3931c26d Mon Sep 17 00:00:00 2001 From: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com> Date: Tue, 25 Jun 2024 09:58:38 +0200 Subject: [PATCH] Fix tests using hf-internal-testing/librispeech_asr_dummy --- tests/test_inspect.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_inspect.py b/tests/test_inspect.py index 1221a842012..6d711476e94 100644 --- a/tests/test_inspect.py +++ b/tests/test_inspect.py @@ -72,7 +72,7 @@ def test_get_dataset_config_info_error(path, config_name, expected_exception): ("squad", ["plain_text"]), ("hf-internal-testing/dataset_with_script", ["default"]), ("dalle-mini/wit", ["default"]), - ("hf-internal-testing/librispeech_asr_dummy", ["clean", "other"]), + ("hf-internal-testing/librispeech_asr_dummy", ["clean"]), ("hf-internal-testing/audiofolder_no_configs_in_metadata", ["default"]), ("hf-internal-testing/audiofolder_single_config_in_metadata", ["custom"]), ("hf-internal-testing/audiofolder_two_configs_in_metadata", ["v1", "v2"]), @@ -90,7 +90,7 @@ def test_get_dataset_config_names(path, expected): ("squad", "plain_text"), ("hf-internal-testing/dataset_with_script", "default"), ("dalle-mini/wit", "default"), - ("hf-internal-testing/librispeech_asr_dummy", None), + ("hf-internal-testing/librispeech_asr_dummy", "clean"), ("hf-internal-testing/audiofolder_no_configs_in_metadata", "default"), ("hf-internal-testing/audiofolder_single_config_in_metadata", "custom"), ("hf-internal-testing/audiofolder_two_configs_in_metadata", None),