Adding new stuff
This commit is contained in:
parent
a1687a2e5b
commit
f8f54ab17a
1580 changed files with 205558 additions and 0 deletions
25
bundle/jedi-vim/jedi/test/completion/sys_path.py
Normal file
25
bundle/jedi-vim/jedi/test/completion/sys_path.py
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
|
||||
import sys
|
||||
import os
|
||||
from os import dirname
|
||||
|
||||
sys.path.insert(0, '../../jedi')
|
||||
sys.path.append(dirname(os.path.abspath('thirdparty' + os.path.sep + 'asdf')))
|
||||
|
||||
# modifications, that should fail:
|
||||
# because of sys module
|
||||
sys.path.append(sys.path[1] + '/thirdparty')
|
||||
# syntax err
|
||||
sys.path.append('a' +* '/thirdparty')
|
||||
|
||||
#? ['evaluate']
|
||||
import evaluate
|
||||
|
||||
#? ['Evaluator']
|
||||
evaluate.Evaluator
|
||||
|
||||
#? ['jedi_']
|
||||
import jedi_
|
||||
|
||||
#? ['el']
|
||||
jedi_.el
|
||||
Loading…
Add table
Add a link
Reference in a new issue