mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
Remove the deprecated attributes from Jedi.
This commit is contained in:
@@ -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""")
|
||||
|
||||
Reference in New Issue
Block a user