Fix lint
This commit is contained in:
parent
5eff35ba30
commit
36da07c73b
@ -181,7 +181,7 @@ class TestRegister:
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
def test_star_args(self):
|
def test_star_args(self):
|
||||||
"""Check handling of *args"""
|
"""Check handling of *args."""
|
||||||
@cmdutils.register()
|
@cmdutils.register()
|
||||||
def fun(*args):
|
def fun(*args):
|
||||||
"""Blah."""
|
"""Blah."""
|
||||||
@ -190,7 +190,7 @@ class TestRegister:
|
|||||||
cmdutils.cmd_dict['fun'].parser.parse_args([])
|
cmdutils.cmd_dict['fun'].parser.parse_args([])
|
||||||
|
|
||||||
def test_star_args_optional(self):
|
def test_star_args_optional(self):
|
||||||
"""Check handling of *args withstar_args_optional"""
|
"""Check handling of *args withstar_args_optional."""
|
||||||
@cmdutils.register(star_args_optional=True)
|
@cmdutils.register(star_args_optional=True)
|
||||||
def fun(*args):
|
def fun(*args):
|
||||||
"""Blah."""
|
"""Blah."""
|
||||||
|
Loading…
Reference in New Issue
Block a user