Remove the deprecated attributes from Jedi.

This commit is contained in:
Dave Halter
2017-09-20 18:27:29 +02:00
parent 0c01a3b823
commit d6a04b2928
4 changed files with 6 additions and 113 deletions

View File

@@ -6,7 +6,7 @@ from inspect import cleandoc
import pytest
from jedi import Script, defined_names, __doc__ as jedi_doc, names
from jedi import Script, __doc__ as jedi_doc, names
from ..helpers import cwd_at
from ..helpers import TestCase
@@ -42,7 +42,7 @@ def make_definitions():
""")
definitions = []
definitions += defined_names(source)
definitions += names(source)
source += dedent("""
variable = sys or C or x or f or g or g() or h""")