From b6729ba90552f11ac1064c3c7dcb7ef20361ef8c Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Wed, 29 Jul 2026 02:01:29 -0700 Subject: [PATCH] test: importorskip numpy in thinking-sound tests (lazy voice dep, hermetic CI) --- tests/tools/test_voice_thinking_sound.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/tools/test_voice_thinking_sound.py b/tests/tools/test_voice_thinking_sound.py index 57d32418ab8da..5a21b3f89aa7b 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