From 9e9dd5309a5c2da27370a8335bc1259102e1a1be Mon Sep 17 00:00:00 2001 From: Kimi Agent Date: Tue, 24 Mar 2026 02:59:52 +0000 Subject: [PATCH] [kimi] Fix: stub cv2 in tests to prevent timeout (#1336) (#1356) Co-authored-by: Kimi Agent Co-committed-by: Kimi Agent --- tests/conftest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/conftest.py b/tests/conftest.py index bf684f69..1ee41a5b 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -33,6 +33,7 @@ for _mod in [ "sentence_transformers", "swarm", "swarm.event_log", + "cv2", # OpenCV import can hang under pytest-xdist parallel workers ]: sys.modules.setdefault(_mod, MagicMock())