Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
timmens committed Dec 11, 2023
1 parent 891151d commit abecb7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_functools.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def f(a, *, b):
# TypeError since b is keyword-only
f_vmapped(a, b)

with pytest.raises(ValueError, match="vmap in_axes specification"):
with pytest.raises(ValueError, match="vmap in_axes must be an int"):
# ValueError since vmap doesn't support keyword arguments
f_vmapped(a, b=b)

Expand Down

0 comments on commit abecb7f

Please sign in to comment.