Removed an old test from the days where it was allowed to add Keywords to Definitions.

This commit is contained in:
Dave Halter
2014-09-10 18:05:04 +02:00
parent 46b49af5d9
commit 2aa538999e

View File

@@ -18,8 +18,6 @@ import textwrap
import pytest
import jedi
from jedi.api import classes
from jedi.evaluate import Evaluator
from ..helpers import TestCase
@@ -79,12 +77,3 @@ class TestFullDefinedName(TestCase):
from os.path import join
from os import path as opath
""", ['os', 'os.path', 'os.path.join', 'os.path'])
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 = classes.keywords.Keyword
d = classes.Definition(Evaluator(), Keyword('(', (0, 0)))
assert d.full_name is None