Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
araffin committed Apr 3, 2023
1 parent aa1a64c commit e77937f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def dummy_callback(locals_, _globals):
policy.n_callback_calls = 0 # type: ignore[assignment, attr-defined]
_, episode_lengths = evaluate_policy(
policy, # type: ignore[arg-type]
model.get_env(), # type: ignore[arg-type]
model.get_env(), # type: ignore[arg-type]
n_eval_episodes,
deterministic=True,
render=False,
Expand All @@ -209,7 +209,7 @@ def dummy_callback(locals_, _globals):

episode_rewards, _ = evaluate_policy(
policy, # type: ignore[arg-type]
model.get_env(), # type: ignore[arg-type]
model.get_env(), # type: ignore[arg-type]
n_eval_episodes,
return_episode_rewards=True,
)
Expand Down

0 comments on commit e77937f

Please sign in to comment.