From 0de33d8f42fecebedc121f4377383d177e78cd70 Mon Sep 17 00:00:00 2001 From: sheklerg Date: Sat, 3 Oct 2020 12:51:57 +0300 Subject: [PATCH] fix failing unit test --- tests/test_recognition.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_recognition.py b/tests/test_recognition.py index ef83ce44..896408ff 100644 --- a/tests/test_recognition.py +++ b/tests/test_recognition.py @@ -21,7 +21,7 @@ def test_sphinx_english(self): def test_google_english(self): r = sr.Recognizer() with sr.AudioFile(self.AUDIO_FILE_EN) as source: audio = r.record(source) - self.assertIn(r.recognize_google(audio), ["1 2 3", "one two three"]) + self.assertIn(r.recognize_google(audio), ["1 2 3", "one two three", "123"]) def test_google_french(self): r = sr.Recognizer()