diff --git a/tests/test_microphone.py b/tests/test_microphone.py index ea399145..e738a4f4 100644 --- a/tests/test_microphone.py +++ b/tests/test_microphone.py @@ -1,8 +1,12 @@ +import sys from unittest.mock import patch +import pytest + from speech_recognition.microphone import PyAudioWrapper +@pytest.mark.skip(sys.platform.startswith("win"), "skip on Windows") class TestPyAudioWrapper: @patch("pyaudio.PyAudio") def test_get_pyaudio(self, PyAudio):