mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 06:44:46 +08:00
fix a few small issues that remained in the tests
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from jedi._compatibility import builtins, is_py3
|
||||
from jedi.parser.representation import Function
|
||||
from jedi.evaluate import compiled
|
||||
from jedi.evaluate import compiled, representation
|
||||
from jedi.evaluate import Evaluator
|
||||
from jedi import Script
|
||||
|
||||
@@ -13,7 +13,7 @@ def test_simple():
|
||||
assert len(upper) == 1
|
||||
objs = list(e.execute(upper[0]))
|
||||
assert len(objs) == 1
|
||||
assert objs[0].obj is str
|
||||
assert isinstance(objs[0], representation.Instance)
|
||||
|
||||
|
||||
def test_fake_loading():
|
||||
|
||||
Reference in New Issue
Block a user