From 2aa538999ecadbb8896542545bc7b77287188e08 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Wed, 10 Sep 2014 18:05:04 +0200 Subject: [PATCH] Removed an old test from the days where it was allowed to add Keywords to Definitions. --- test/test_api/test_full_name.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/test/test_api/test_full_name.py b/test/test_api/test_full_name.py index 6b730937..9d1566d8 100644 --- a/test/test_api/test_full_name.py +++ b/test/test_api/test_full_name.py @@ -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