test(value): skip viz tests when scipy is unavailable

- add pytest.importorskip('scipy') at module import time to avoid collection failures in minimal test environments
这个提交包含在:
Elvin
2026-03-06 17:24:35 +08:00
父节点 300f5a386d
当前提交 fe9869c2bd

查看文件

@ -3,9 +3,12 @@
from pathlib import Path
import numpy as np
import pytest
import torch
from PIL import Image
pytest.importorskip("scipy")
from lerobot.configs.value import (
ValueInferenceACPConfig,
ValueInferenceCheckpointConfig,