forked from VimPlug/jedi
api is now a separate package, to structure the whole thing better.
This commit is contained in:
@@ -16,7 +16,7 @@ There are three kinds of test:
|
||||
import textwrap
|
||||
|
||||
import jedi
|
||||
from jedi import api_classes
|
||||
from jedi.api import classes
|
||||
from jedi.evaluate import Evaluator
|
||||
from .helpers import TestCase
|
||||
|
||||
@@ -82,6 +82,6 @@ def test_keyword_full_name_should_be_none():
|
||||
"""issue #94"""
|
||||
# Using `from jedi.keywords import Keyword` here does NOT work
|
||||
# in Python 3. This is due to the import hack jedi using.
|
||||
Keyword = api_classes.keywords.Keyword
|
||||
d = api_classes.Definition(Evaluator(), Keyword('(', (0, 0)))
|
||||
Keyword = classes.keywords.Keyword
|
||||
d = classes.Definition(Evaluator(), Keyword('(', (0, 0)))
|
||||
assert d.full_name is None
|
||||
|
||||
Reference in New Issue
Block a user