mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-16 17:20:05 +00:00
Fix invalid syntax (#2752)
* fix invalid syntax * also skip for torchdiffeq * fix patch for gpu tests
This commit is contained in:
+1
-1
@@ -208,7 +208,7 @@ def test_peft_record_loads_policy(policy_type, tmp_path):
|
||||
loaded_policy = kwargs["policy"]
|
||||
|
||||
with (
|
||||
patch("lerobot.robots.make_robot_from_config", dummy_make_robot_from_config),
|
||||
patch("lerobot.scripts.lerobot_record.make_robot_from_config", dummy_make_robot_from_config),
|
||||
# disable record loop since we're only interested in successful loading of the policy.
|
||||
patch("lerobot.scripts.lerobot_record.record_loop", dummy_record_loop),
|
||||
# disable speech output
|
||||
|
||||
Reference in New Issue
Block a user