fix test imports

This commit is contained in:
Steven Palma
2026-04-11 21:07:53 +02:00
parent c9636bb53f
commit 5940126fb5
9 changed files with 71 additions and 42 deletions
+6 -2
View File
@@ -18,9 +18,13 @@ import threading
import time
from queue import Queue
from torch.multiprocessing import Queue as TorchMPQueue
import pytest
from lerobot.rl.queue import get_last_item_from_queue
pytest.importorskip("grpc")
from torch.multiprocessing import Queue as TorchMPQueue # noqa: E402
from lerobot.rl.queue import get_last_item_from_queue # noqa: E402
def test_get_last_item_single_item():