Fix tests
This commit is contained in:
1 parent
5fa8338886
commit
946869ab23
2 files changed
+3
-3
No files matched your search
@@ -205,7 +205,7 @@ def infer_return_types(function_execution_context):
|
||||
|
||||
return ContextSet.from_sets(
|
||||
ann.define_generics(type_var_dict)
|
||||
if isinstance(ann, (AbstractAnnotatedClass, TypeVar)) else ann
|
||||
if isinstance(ann, (AbstractAnnotatedClass, TypeVar)) else ContextSet({ann})
|
||||
for ann in annotation_contexts
|
||||
).execute_annotation()
|
||||
|
||||
|
||||
Reference in new issue
Block a user