Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidKatz-il committed Jan 19, 2023
1 parent 768dd92 commit 9a4fb27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def convert_to_beam_type(typ):
sys.version_info.minor >= 10) and (isinstance(typ, types.UnionType)):
typ = typing.Union[typ]

if sys.version_info >= (3, 9) and isinstance(type, types.GenericAlias):
if sys.version_info >= (3, 9) and isinstance(typ, types.GenericAlias):
typ = convert_builtin_to_typing(typ)

if isinstance(typ, typing.TypeVar):
Expand Down

0 comments on commit 9a4fb27

Please sign in to comment.