Skip to content

Commit

Permalink
Linux eSpeak-NG v1.51 has 131 voices
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Jan 2, 2025
1 parent 9f0f0f6 commit f71ecd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_engines.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ def test_espeak_voices(driver_name) -> None:
# Get and validate the number of voices
voices = engine.getProperty("voices")
print(f"{engine} has {len(voices) = } voices.")
# Linux eSpeak-NG v1.50 has 109 voices,
# Linux eSpeak-NG v1.51 has 131 voices,
# macOS eSpeak-NG v1.52.0 has 141 voices,
# Windows eSpeak-NG v1.52-dev has 221 voices.
assert len(voices) in {109, 141, 221}, "Unexpected number of voices"
assert len(voices) in {131, 141, 221}, "Unexpected number of voices"

# Define the expected English voice IDs (excluding Caribbean for now as not in some envs
# Linux eSpeak-NG v1.50 has 7 English voices,
Expand Down

0 comments on commit f71ecd8

Please sign in to comment.