Files
jedi/test/completion/sys_path.py
2019-08-25 13:20:37 +02:00

25 lines
460 B
Python

import sys
import os
from os.path import dirname
sys.path.insert(0, '../../jedi')
sys.path.append(os.path.join(dirname(__file__), 'thirdparty'))
# modifications, that should fail:
# syntax err
sys.path.append('a' +* '/thirdparty')
#? ['inference']
import inference
#? ['inference_state_function_cache']
inference.inference_state_fu
# Those don't work because dirname and abspath are not properly understood.
#? ['jedi_']
import jedi_
#? ['el']
jedi_.el