Files
jedi/test/completion/invalid.py

46 lines
497 B
Python

def openbrace():
asdf = 3
asdf
asdf(
#? ['real']
asdf.real
return 1
#? ['real']
openbrace().real
blub([
#? ['real']
openbrace().real
def indentfault():
asd(
indentback
#? []
indentfault().
def openbrace2():
asd(
def normalfunc():
return 1
##? ['real']
normalfunc().real
# first part not complete (raised errors)
if a
a
else:
#? ['AttributeError']
AttributeError
try
#? ['AttributeError']
except AttributeError
pass
finally:
pass