mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +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)
|
all_type_vars.update(type_var_dict)
|
||||||
|
|
||||||
return ValueSet.from_sets(
|
return ValueSet.from_sets(
|
||||||
v.define_generics(type_var_dict)
|
v.define_generics(all_type_vars)
|
||||||
if isinstance(v, (DefineGenericBase, TypeVar)) else ValueSet({v})
|
if isinstance(v, (DefineGenericBase, TypeVar)) else ValueSet({v})
|
||||||
for v in result_values
|
for v in result_values
|
||||||
).execute_annotation()
|
).execute_annotation()
|
||||||
|
|||||||
Reference in New Issue
Block a user