1
0
forked from VimPlug/jedi

api is now a separate package, to structure the whole thing better.

This commit is contained in:
Dave Halter
2014-01-07 15:33:12 +01:00
parent 3126031ff2
commit 6deac1dc41
4 changed files with 23 additions and 23 deletions

View File

@@ -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