Skip to content

Commit

Permalink
Ignore warning
Browse files Browse the repository at this point in the history
  • Loading branch information
araffin committed Apr 5, 2023
1 parent 1390567 commit 0e1e50d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_her.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def env_fn():
del model.replay_buffer

with pytest.raises(AttributeError):
model.replay_buffer
model.replay_buffer # noqa: B018

# Check that there is no warning
assert len(recwarn) == 0
Expand Down

0 comments on commit 0e1e50d

Please sign in to comment.