forked from VimPlug/jedi
Fix the of a signature with a decorator
This commit is contained in:
@@ -440,7 +440,7 @@ def test_method_decorator(Script):
|
||||
Foo().check_user''')
|
||||
|
||||
d, = Script(code).infer()
|
||||
assert d.docstring() == 'check_user(f)\n\nNice docstring'
|
||||
assert d.docstring() == 'check_user(self, f)\n\nNice docstring'
|
||||
|
||||
|
||||
def test_partial(Script):
|
||||
|
||||
Reference in New Issue
Block a user