mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-23 20:50:02 +00:00
fix(tests): skip tests that require grpc if not available
This commit is contained in:
@@ -22,6 +22,7 @@ import pytest
|
|||||||
import torch
|
import torch
|
||||||
|
|
||||||
pytest.importorskip("datasets", reason="datasets is required (install lerobot[dataset])")
|
pytest.importorskip("datasets", reason="datasets is required (install lerobot[dataset])")
|
||||||
|
pytest.importorskip("grpc")
|
||||||
|
|
||||||
from torch.multiprocessing import Event, Queue
|
from torch.multiprocessing import Event, Queue
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user