mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 18:56:53 +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,
|
||||
'type': None,
|
||||
'dest': 'test',
|
||||
'nargs': None,
|
||||
'const': None,
|
||||
'choices': None,
|
||||
'callback': None,
|
||||
'callback_args': None,
|
||||
'callback_kwargs': None,
|
||||
|
|
|
|||
|
|
@ -200,8 +200,8 @@ def test_proxies_getitem_to_managers_plugins_dictionary(PluginManager):
|
|||
assert type_mgr[key] is plugins[key]
|
||||
|
||||
|
||||
class FakePluginTypeManager(manager.NotifierBuilder):
|
||||
"""Provide an easy way to test the NotifierBuilder."""
|
||||
class FakePluginTypeManager(manager.NotifierBuilderMixin):
|
||||
"""Provide an easy way to test the NotifierBuilderMixin."""
|
||||
|
||||
def __init__(self, manager):
|
||||
"""Initialize with our fake manager."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue