first executions with compiled seem to be working
This commit is contained in:
1 parent
7af9e6dfd7
commit
3017e72b86
2 files changed
+16
-15
No files matched your search
@@ -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