forked from VimPlug/jedi
Move the evaluate package to inference
This commit is contained in:
@@ -9,7 +9,7 @@ from pytest import raises
|
||||
from parso import cache
|
||||
|
||||
from jedi import preload_module
|
||||
from jedi.evaluate.gradual import typeshed
|
||||
from jedi.inference.gradual import typeshed
|
||||
|
||||
|
||||
def test_preload_modules():
|
||||
|
||||
@@ -8,7 +8,7 @@ import pytest
|
||||
|
||||
import jedi
|
||||
from jedi import __doc__ as jedi_doc
|
||||
from jedi.evaluate.compiled import CompiledContextName
|
||||
from jedi.inference.compiled import CompiledContextName
|
||||
|
||||
|
||||
def test_is_keyword(Script):
|
||||
|
||||
@@ -89,7 +89,7 @@ def test_fake_subnodes(Script):
|
||||
Test the number of subnodes of a fake object.
|
||||
|
||||
There was a bug where the number of child nodes would grow on every
|
||||
call to :func:``jedi.evaluate.compiled.fake.get_faked``.
|
||||
call to :func:``jedi.inference.compiled.fake.get_faked``.
|
||||
|
||||
See Github PR#649 and isseu #591.
|
||||
"""
|
||||
|
||||
@@ -7,7 +7,7 @@ import pytest
|
||||
|
||||
import jedi
|
||||
from jedi._compatibility import is_py3, py_version
|
||||
from jedi.evaluate.compiled import mixed, context
|
||||
from jedi.inference.compiled import mixed, context
|
||||
from importlib import import_module
|
||||
|
||||
if py_version > 30:
|
||||
|
||||
@@ -3,7 +3,7 @@ import os
|
||||
import pytest
|
||||
|
||||
from jedi import api
|
||||
from jedi.evaluate import imports
|
||||
from jedi.inference import imports
|
||||
from ..helpers import cwd_at
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user