mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
Use a different sys path for import completions and import type inference
Fix tests of the #1451 pull request
This commit is contained in:
@@ -20,8 +20,12 @@ def builtin_test():
|
||||
#? ['sqlite3']
|
||||
import sqlite3
|
||||
|
||||
#? ['classes']
|
||||
# classes is a local module that has an __init__.py and can therefore not be
|
||||
# found. test can be found.
|
||||
#? []
|
||||
import classes
|
||||
#? ['test']
|
||||
import test
|
||||
|
||||
#? ['timedelta']
|
||||
from datetime import timedel
|
||||
|
||||
Reference in New Issue
Block a user