Skip to content

Commit

Permalink
Merge pull request Uberi#9 from milahu/merge-Uberi-pr518-0de33d8-Fix-…
Browse files Browse the repository at this point in the history
…failing-unit-test-in-google-recognition-by-gs202

Merge uberi pr518 0de33d8 fix failing unit test in google recognition by gs202
  • Loading branch information
milahu authored Mar 5, 2022
2 parents 70149b6 + 010b14d commit 7457320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_recognition.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 7457320

Please sign in to comment.