[Bugfix] Skip minimax_m3 tool parser tests when Rust extension is absent (#48523)

Signed-off-by: Matt Woodson <mwoodson@redhat.com>
This commit is contained in:
Matt Woodson
2026-07-14 04:43:22 +00:00
committed by GitHub
parent 95aab66e95
commit af1f036a70
@@ -14,6 +14,10 @@ from vllm.entrypoints.openai.engine.protocol import DeltaMessage
from vllm.tool_parsers import ToolParserManager
from vllm.tool_parsers.minimax_m3_tool_parser import MinimaxM3ToolParser
# MinimaxM3ToolParser extends RustToolParser; skip when the PyO3 extension
# is absent (mirrors the guard in test_rust_tool_parser.py).
pytest.importorskip("vllm._rust_tool_parser")
pytestmark = [pytest.mark.cpu_test, pytest.mark.skip_global_cleanup]
NS = "]<]minimax[>["