mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
imports without path did have problems, because of an incorrect sys.path
This commit is contained in:
@@ -49,6 +49,7 @@ class TestSetupReadline():
|
||||
def test_import(self):
|
||||
s = 'from os.path import a'
|
||||
assert set(self.completions(s)) == set([s + 'ltsep', s + 'bspath'])
|
||||
assert self.completions('import keyword') == ['import keyword']
|
||||
|
||||
def test_colorama(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user