mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
More issues from the list of types to set of types conversion.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user