From f719253a986d207937ae52a3a6675b2577db849d Mon Sep 17 00:00:00 2001 From: skishore Date: Thu, 12 Jun 2025 10:02:26 +0000 Subject: [PATCH] Add skip condition to vggish_pipeline_test test similar to torchaudio_unittest/backend/dispatcher/ffmpeg/info_test.py if ffmpeg executable is not found --- test/integration_tests/prototype/vggish_pipeline_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/integration_tests/prototype/vggish_pipeline_test.py b/test/integration_tests/prototype/vggish_pipeline_test.py index 72c6e1e518..21052d63d2 100644 --- a/test/integration_tests/prototype/vggish_pipeline_test.py +++ b/test/integration_tests/prototype/vggish_pipeline_test.py @@ -1,7 +1,8 @@ import torchaudio from torchaudio.prototype.pipelines import VGGISH +from torchaudio_unittest.common_utils import skipIfNoExec - +@skipIfNoExec("ffmpeg") def test_vggish(): input_sr = VGGISH.sample_rate input_proc = VGGISH.get_input_processor()