mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
changed many tests from old completion tests to type tests, which brings more security
This commit is contained in:
@@ -2,16 +2,16 @@ def openbrace():
|
||||
asdf = 3
|
||||
asdf
|
||||
asdf(
|
||||
#? ['real']
|
||||
asdf.real
|
||||
#? int()
|
||||
asdf
|
||||
return 1
|
||||
|
||||
#? ['real']
|
||||
openbrace().real
|
||||
#? int()
|
||||
openbrace()
|
||||
|
||||
blub([
|
||||
#? ['real']
|
||||
openbrace().real
|
||||
#? int()
|
||||
openbrace()
|
||||
|
||||
def indentfault():
|
||||
asd(
|
||||
@@ -25,8 +25,8 @@ def openbrace2():
|
||||
def normalfunc():
|
||||
return 1
|
||||
|
||||
##? ['real']
|
||||
normalfunc().real
|
||||
##? int()
|
||||
normalfunc()
|
||||
|
||||
|
||||
# first part not complete (raised errors)
|
||||
|
||||
Reference in New Issue
Block a user