diff --git a/qt/tests/test_sound.py b/qt/tests/test_sound.py index 91dd41b7173..55989d9f580 100644 --- a/qt/tests/test_sound.py +++ b/qt/tests/test_sound.py @@ -11,7 +11,7 @@ import aqt from anki.sound import SoundOrVideoTag -from anki.utils import is_mac, is_win +from anki.utils import is_lin, is_mac, is_win from aqt.sound import MpvManager, _packagedCmd, is_audio_file @@ -109,6 +109,7 @@ def test_mpv_can_play_generated_wav(generated_wav: Path): assert result.returncode == 0, result.stderr.decode() +@pytest.mark.skipif(is_lin, reason="mpv is not bundled for Linux") def test_mpvmanager_can_play_generated_wav( monkeypatch, tmp_path: Path, generated_wav: Path ):