Skip to content

Commit c41b72b

Browse files
committed
refactor: test_update_frequency
1 parent 7a5ca65 commit c41b72b

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
@@ -126,7 +126,7 @@ def test_reduction(optimizer_names):
126126
@pytest.mark.parametrize('optimizer_names', ['shampoo'])
127127
def test_update_frequency(optimizer_names):
128128
with pytest.raises(ValueError):
129-
load_optimizers(optimizer_names)([None], update_freq=0)
129+
load_optimizers(optimizer_names)(None, update_freq=0)
130130

131131

132132
def test_sam_parameters():

0 commit comments

Comments
 (0)