forked from VimPlug/jedi
fix last remaining issues with tests
This commit is contained in:
@@ -17,6 +17,7 @@ import textwrap
|
||||
|
||||
import jedi
|
||||
from jedi import api_classes
|
||||
from jedi.evaluate import Evaluator
|
||||
from .helpers import TestCase
|
||||
|
||||
|
||||
@@ -82,5 +83,5 @@ def test_keyword_full_name_should_be_none():
|
||||
# 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(Keyword('(', (0, 0)))
|
||||
d = api_classes.Definition(Evaluator(), Keyword('(', (0, 0)))
|
||||
assert d.full_name is None
|
||||
|
||||
Reference in New Issue
Block a user