| 1 | |
| 2 | import sys |
| 3 | import os |
| 4 | from os.path import dirname |
| 5 | |
| 6 | sys.path.insert(0, '../../jedi') |
| 7 | sys.path.append(os.path.join(dirname(__file__), 'thirdparty')) |
| 8 | |
| 9 | # modifications, that should fail: |
| 10 | # syntax err |
| 11 | sys.path.append('a' +* '/thirdparty') |
| 12 | |
| 13 | #? ['inference'] |
| 14 | import inference |
| 15 | |
| 16 | #? ['inference_state_function_cache'] |
| 17 | inference.inference_state_fu |
| 18 | |
| 19 | # Those don't work because dirname and abspath are not properly understood. |
| 20 | #? ['jedi_'] |
| 21 | import jedi_ |
| 22 | |
| 23 | #? ['el'] |
| 24 | jedi_.el |