[Bugfix] Skip minimax_m3 tool parser tests when Rust extension is absent (#48523)
Signed-off-by: Matt Woodson <mwoodson@redhat.com>
Matt Woodson committed
Jul 14, 2026 at 00:43 UTC
af1f036a70e0b7e5f68899ad66efdbe9f77e7715
1 file changed
+4
tests/tool_parsers/test_minimax_m3_tool_parser.py
+4
@@ -14,6 +14,10 @@ from vllm.entrypoints.openai.engine.protocol import DeltaMessage
14
from vllm.tool_parsers import ToolParserManager
15
from vllm.tool_parsers.minimax_m3_tool_parser import MinimaxM3ToolParser
16
17
+# MinimaxM3ToolParser extends RustToolParser; skip when the PyO3 extension
18
+# is absent (mirrors the guard in test_rust_tool_parser.py).
19
+pytest.importorskip("vllm._rust_tool_parser")
20
+
21
pytestmark = [pytest.mark.cpu_test, pytest.mark.skip_global_cleanup]
22
23
NS = "]<]minimax[>["