diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0359b88..4ae1bf6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -49,7 +49,7 @@ repos: - tomli - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.4 + rev: v0.8.6 hooks: # Format before linting - id: ruff - id: ruff-format diff --git a/tests/test_engines.py b/tests/test_engines.py index 7b8bff1..ec718c3 100644 --- a/tests/test_engines.py +++ b/tests/test_engines.py @@ -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, - # macOS eSpeak-NG v1.51 has 131 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, 131, 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,