diff --git a/tests/tools/test_transcription_tools.py b/tests/tools/test_transcription_tools.py index 5e4a9ad716..e5b27d9e4d 100644 --- a/tests/tools/test_transcription_tools.py +++ b/tests/tools/test_transcription_tools.py @@ -414,6 +414,10 @@ class TestTranscribeLocalCommand: # _transcribe_local — additional tests # ============================================================================ +@pytest.mark.skipif( + not __import__("importlib").util.find_spec("faster_whisper"), + reason="faster_whisper not installed", +) class TestTranscribeLocalExtended: def test_model_reuse_on_second_call(self, tmp_path): """Second call with same model should NOT reload the model."""