Skip to content

Commit

Permalink
fix(pu): fix unittest in test_ding_env_wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
puyuan1996 committed Dec 7, 2023
1 parent 45461a7 commit 430e020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lzero/envs/tests/test_ding_env_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ def test(self):

obs = ding_env.reset()

assert isinstance(obs, np.ndarray)
assert isinstance(obs[0], np.ndarray)
action = ding_env.random_action()
print('random_action: {}, action_space: {}'.format(action.shape, ding_env.action_space))

0 comments on commit 430e020

Please sign in to comment.