More issues from the list of types to set of types conversion.

This commit is contained in:
Dave Halter
2015-10-30 10:32:17 +01:00
parent 05798734bf
commit ee51b0a62f
3 changed files with 5 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ def test_simple():
obj = compiled.CompiledObject('_str_', bltn)
upper = e.find_types(obj, 'upper')
assert len(upper) == 1
objs = list(e.execute(upper[0]))
objs = list(e.execute(list(upper)[0]))
assert len(objs) == 1
assert isinstance(objs[0], representation.Instance)