Skip to content

Commit 0f53d02

Browse files
committed
update: test_load_optimizer
1 parent 1201f9a commit 0f53d02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_optimizer_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,4 +288,4 @@ def test_load_optimizer(optimizer_instance):
288288
_ = optimizer_instance(torch.optim.AdamW, params=params)
289289

290290
with pytest.raises(ValueError):
291-
Lookahead(torch.optim.AdamW)
291+
optimizer_instance(torch.optim.AdamW)

0 commit comments

Comments
 (0)