mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 05:54:25 +08:00
Fix a test issue
This commit is contained in:
@@ -285,7 +285,7 @@ def infer_return_for_callable(arguments, param_values, result_values):
|
||||
all_type_vars.update(type_var_dict)
|
||||
|
||||
return ValueSet.from_sets(
|
||||
v.define_generics(type_var_dict)
|
||||
v.define_generics(all_type_vars)
|
||||
if isinstance(v, (DefineGenericBase, TypeVar)) else ValueSet({v})
|
||||
for v in result_values
|
||||
).execute_annotation()
|
||||
|
||||
Reference in New Issue
Block a user