forked from VimPlug/jedi
first executions with compiled seem to be working
This commit is contained in:
@@ -9,6 +9,7 @@ def test_simple():
|
||||
obj = compiled.PyObject('_str_', bltn)
|
||||
upper = e.find_types(obj, 'upper')
|
||||
assert len(upper) == 1
|
||||
objs = e.execute(upper[0])
|
||||
objs = list(e.execute(upper[0]))
|
||||
assert len(objs) == 1
|
||||
assert isinstance(objs[0].obj, str)
|
||||
assert objs[0].obj is str
|
||||
assert objs[0].instantiated is True
|
||||
|
||||
Reference in New Issue
Block a user