diff --git a/tests/test_recognition.py b/tests/test_recognition.py index fdfef820..e5937701 100644 --- a/tests/test_recognition.py +++ b/tests/test_recognition.py @@ -84,7 +84,7 @@ def test_ibm_chinese(self): def test_whisper_english(self): r = sr.Recognizer() with sr.AudioFile(self.AUDIO_FILE_EN) as source: audio = r.record(source) - self.assertEqual(r.recognize_whisper(audio, language="english", **self.WHISPER_CONFIG), " 1, 2, 3.") + self.assertEqual(r.recognize_whisper(audio, language="english", **self.WHISPER_CONFIG), " 1, 2, 3") def test_whisper_french(self): r = sr.Recognizer()