Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Nov 2, 2023
1 parent 09b327c commit 7678d14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_tensordict.py
Original file line number Diff line number Diff line change
Expand Up @@ -2283,8 +2283,8 @@ def test_as_tensor(self, td_name, device):
):
td.as_tensor()
else:
with pytest.raises(AttributeError):
td.as_tensor()
# checks that it runs
td.as_tensor()

def test_items_values_keys(self, td_name, device):
torch.manual_seed(1)
Expand Down

0 comments on commit 7678d14

Please sign in to comment.