1
0
forked from VimPlug/jedi

first executions with compiled seem to be working

This commit is contained in:
Dave Halter
2014-01-09 00:53:50 +01:00
parent 7af9e6dfd7
commit 3017e72b86
2 changed files with 16 additions and 15 deletions

View File

@@ -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