1
0
forked from VimPlug/jedi

fix last remaining issues with tests

This commit is contained in:
Dave Halter
2013-12-27 02:28:01 +01:00
parent 4ec64a9763
commit 08fba1e191
4 changed files with 11 additions and 9 deletions

View File

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