1
0
forked from VimPlug/jedi
Files
jedi-fork/test/completion/sys_path.py
2019-08-15 00:14:26 +02:00

25 lines
461 B
Python

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:
# syntax err
sys.path.append('a' +* '/thirdparty')
#? ['inference']
import inference
#? ['evaluator_function_cache']
inference.Evaluator_fu
# Those don't work because dirname and abspath are not properly understood.
##? ['jedi_']
import jedi_
##? ['el']
jedi_.el