[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:
@@ -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[>["
|
||||
|
||||
Reference in New Issue
Block a user