rename args_kw_only to kwonly

This commit is contained in:
Sebastian Koslowski
2020-04-14 13:04:25 +02:00
committed by Wenzel Jakob
parent be0d804523
commit a86ac538f5
6 changed files with 26 additions and 26 deletions

View File

@@ -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
"""