mirror of
https://github.com/pybind/pybind11.git
synced 2026-03-14 20:27:47 +00:00
rename args_kw_only to kwonly
This commit is contained in:
committed by
Wenzel Jakob
parent
be0d804523
commit
a86ac538f5
@@ -141,7 +141,7 @@ def test_keyword_only_args(msg):
|
||||
with pytest.raises(RuntimeError) as excinfo:
|
||||
m.register_invalid_kwonly(m)
|
||||
assert msg(excinfo.value) == """
|
||||
arg(): cannot specify an unnamed argument after an args_kw_only() annotation
|
||||
arg(): cannot specify an unnamed argument after an kwonly() annotation
|
||||
"""
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user