fix tests for new "default required" policy
This test had a keyword only parameter without a default, which is now disallowed. This caused the test to fail.
This commit is contained in:
parent
0ef5d338bd
commit
b6d9d3f955
@ -324,7 +324,7 @@ class TestRegister:
|
||||
# https://github.com/The-Compiler/qutebrowser/issues/1871
|
||||
@cmdutils.register()
|
||||
@cmdutils.argument('arg', choices=['foo', 'bar'])
|
||||
def fun(*, arg):
|
||||
def fun(*, arg='foo'):
|
||||
"""Blah."""
|
||||
pass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user