mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-16 09:09:48 +00:00
fix(processor): specialized processors respect contract by raising if none (#1909)
* fix(processor): specialized processor now raise * test(processor): fix tests for now raise specialized processors * test(processor): use identity in newly introduced pipeline
This commit is contained in:
@@ -136,7 +136,7 @@ def test_none_observation():
|
||||
"""Test processor with None observation."""
|
||||
processor = VanillaObservationProcessorStep()
|
||||
|
||||
transition = create_transition()
|
||||
transition = create_transition(observation={})
|
||||
result = processor(transition)
|
||||
|
||||
assert result == transition
|
||||
|
||||
Reference in New Issue
Block a user