forked from VimPlug/jedi
python 3 compatibility, which is nicer anyway
This commit is contained in:
@@ -21,7 +21,7 @@ class TestRegression(TestBase):
|
|||||||
old, jedi.settings.star_import_cache_validity = \
|
old, jedi.settings.star_import_cache_validity = \
|
||||||
jedi.settings.star_import_cache_validity, new
|
jedi.settings.star_import_cache_validity, new
|
||||||
|
|
||||||
cache = jedi.cache
|
cache = api.cache
|
||||||
cache.star_import_cache = {} # first empty...
|
cache.star_import_cache = {} # first empty...
|
||||||
# path needs to be not-None (otherwise caching effects are not visible)
|
# path needs to be not-None (otherwise caching effects are not visible)
|
||||||
jedi.Script('', 1, 0, '').complete()
|
jedi.Script('', 1, 0, '').complete()
|
||||||
|
|||||||
Reference in New Issue
Block a user