Skip to content

The agent that grows with you

test: importorskip numpy in thinking-sound tests (lazy voice dep, hermetic CI)

Tekniumb6729ba90552
diff --git a/tests/tools/test_voice_thinking_sound.py b/tests/tools/test_voice_thinking_sound.py
index 57d32418ab8..5a21b3f89aa 100644
--- a/tests/tools/test_voice_thinking_sound.py
+++ b/tests/tools/test_voice_thinking_sound.py
@@ -16,7 +16,11 @@ import threading
import time
from unittest.mock import patch
-import numpy as np
+import pytest
+
+np = pytest.importorskip(
+ "numpy", reason="numpy is a lazy voice dependency, absent in hermetic CI"
+)
import tools.voice_mode as vm