1
0
forked from VimPlug/jedi

decorator's that are not found, are now just being ignored / introduced new testing file

This commit is contained in:
David Halter
2012-06-24 20:00:57 +02:00
parent 3650e0ee64
commit 77698599f4
4 changed files with 74 additions and 3 deletions

View File

@@ -151,6 +151,31 @@ CallClass()()
# properties
# -----------------
class B():
@property
def r(self):
@@ -172,6 +197,8 @@ B().p
##? []
B().p()
property2 = property
# -----------------
# class decorators
# -----------------

View 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()

View File

@@ -222,7 +222,6 @@ exe = fu(list, set, 3, '', d='')
#? str()
exe[3][0]
# -----------------
# generators
# -----------------