Skip to content

Commit fdd6f80

Browse files
committed
update: test_lookahead_parameters
1 parent d17c20c commit fdd6f80

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_optimizer_parameters.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ def test_lookahead_parameters():
206206
opt.backup_and_load_cache()
207207
opt.clear_and_load_backup()
208208

209+
_ = opt.__getstate__()
210+
209211
with pytest.raises(ValueError):
210212
Lookahead(optimizer, k=0)
211213

0 commit comments

Comments
 (0)