forked from VimPlug/jedi
decorator's that are not found, are now just being ignored / introduced new testing file
This commit is contained in:
27
test/completion/decorators.py
Normal file
27
test/completion/decorators.py
Normal file
@@ -0,0 +1,27 @@
|
||||
# -----------------
|
||||
# not found decorators
|
||||
# -----------------
|
||||
@not_found_decorator
|
||||
def just_a_func():
|
||||
return 1
|
||||
|
||||
#? []
|
||||
just_a_func()
|
||||
|
||||
#? []
|
||||
just_a_func.
|
||||
|
||||
|
||||
class JustAClass:
|
||||
@not_found_decorator2
|
||||
def a(self):
|
||||
return 1
|
||||
|
||||
#? []
|
||||
JustAClass().a.
|
||||
#? []
|
||||
JustAClass().a()
|
||||
#? []
|
||||
JustAClass.a.
|
||||
#? []
|
||||
JustAClass().a()
|
||||
Reference in New Issue
Block a user