Skip to content

Commit

Permalink
[Test] Rename duplicated test
Browse files Browse the repository at this point in the history
ghstack-source-id: b40c941b8f7c7561064fe9df4ab528fc8a0ead9b
Pull Request resolved: #997
  • Loading branch information
vmoens committed Sep 17, 2024
1 parent 041eb8a commit fe9ed98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_nn.py
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ def test_key_exclusion(self):
assert set(seq.in_keys) == set(unravel_key_list(("key1", "key2", "key3")))
assert set(seq.out_keys) == set(unravel_key_list(("foo1", "key1", "key2")))

def test_key_exclusion(self):
def test_key_exclusion_constructor(self):
module1 = TensorDictModule(
nn.Linear(3, 4), in_keys=["key1", "key2"], out_keys=["foo1"]
)
Expand Down

0 comments on commit fe9ed98

Please sign in to comment.