Skip to content

The agent that grows with you

test(stt): drop dead shutil.which patch in CAF neighbor test

kshitijk4poorb34cd9b2fa3e
diff --git a/tests/tools/test_transcription_tools.py b/tests/tools/test_transcription_tools.py
index 11940ab135d..0fd891cc7e6 100644
--- a/tests/tools/test_transcription_tools.py
+++ b/tests/tools/test_transcription_tools.py
@@ -1357,7 +1357,6 @@ class TestCafConversion:
"provider": "groq", "cloud_trim_silence": False,
})
monkeypatch.setattr(audio, "_find_ffmpeg_binary", lambda: "ffmpeg")
- monkeypatch.setattr(audio.shutil, "which", lambda _name: None)
def encode(command, **_kwargs):
output = Path(command[-1])