Skip to content

Commit 60f2770

Browse files
committed
fix test
1 parent 9d05b4e commit 60f2770

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

conftest.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ def pytest_generate_tests(metafunc):
2323
from transformers import Wav2Vec2Model # noqa: F401
2424
except ModuleNotFoundError:
2525
collect_ignore.append("speechbrain/lobes/models/huggingface_wav2vec.py")
26+
try:
27+
from transformers import WhisperModel # noqa: F401
28+
except ModuleNotFoundError:
29+
collect_ignore.append("speechbrain/lobes/models/huggingface_whisper.py")
2630
try:
2731
import sacrebleu # noqa: F401
2832
except ModuleNotFoundError:

0 commit comments

Comments
 (0)