Skip to content

Commit ab7de7d

Browse files
committedJan 26, 2023
Add comment
1 parent ebbebea commit ab7de7d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎tests/test_autoreset_wrapper.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66

77

88
def test_auto_reset_wrapper_pad(episode_length=3, n_steps=100, n_manual_reset=2):
9-
"""Check that AutoResetWrapper returns correct values from step and reset.
9+
"""This test also exists in seals. The advantage of also having it here is that
10+
if we decide to update our version of seals this test will show us whether there
11+
were any changes in the parts of seals that we care about.
12+
13+
Check that AutoResetWrapper returns correct values from step and reset.
1014
AutoResetWrapper that pads trajectory with an extra transition containing the
1115
terminal observations.
1216
Also check that calls to .reset() do not interfere with automatic resets.

0 commit comments

Comments
 (0)
Please sign in to comment.