mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-12 07:44:16 +00:00
Fix other tests after pylint fixes
This commit is contained in:
parent
6c90e1045b
commit
6d3d955ba9
2 changed files with 5 additions and 2 deletions
|
|
@ -33,6 +33,9 @@ def test_to_optparse_creates_an_option_as_we_expect(Option):
|
||||||
'default': None,
|
'default': None,
|
||||||
'type': None,
|
'type': None,
|
||||||
'dest': 'test',
|
'dest': 'test',
|
||||||
|
'nargs': None,
|
||||||
|
'const': None,
|
||||||
|
'choices': None,
|
||||||
'callback': None,
|
'callback': None,
|
||||||
'callback_args': None,
|
'callback_args': None,
|
||||||
'callback_kwargs': None,
|
'callback_kwargs': None,
|
||||||
|
|
|
||||||
|
|
@ -200,8 +200,8 @@ def test_proxies_getitem_to_managers_plugins_dictionary(PluginManager):
|
||||||
assert type_mgr[key] is plugins[key]
|
assert type_mgr[key] is plugins[key]
|
||||||
|
|
||||||
|
|
||||||
class FakePluginTypeManager(manager.NotifierBuilder):
|
class FakePluginTypeManager(manager.NotifierBuilderMixin):
|
||||||
"""Provide an easy way to test the NotifierBuilder."""
|
"""Provide an easy way to test the NotifierBuilderMixin."""
|
||||||
|
|
||||||
def __init__(self, manager):
|
def __init__(self, manager):
|
||||||
"""Initialize with our fake manager."""
|
"""Initialize with our fake manager."""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue