Skip to content

Commit

Permalink
Update tests/flytekit/unit/core/test_type_engine.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wild-endeavor authored May 11, 2023
1 parent e2f6b96 commit 1254e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/flytekit/unit/core/test_type_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ class JSONSerialized:
def __class_getitem__(cls, item: Type[T]):
return Annotated[item, JsonTypeTransformer(name=f"json[{item}]", t=item)]

MyJsonDict = JSONSerialized[dict[str, int]]
MyJsonDict = JSONSerialized[typing.Dict[str, int]]
_, test_transformer = get_args(MyJsonDict)

assert TypeEngine.get_transformer(MyJsonDict) is test_transformer
Expand Down

0 comments on commit 1254e50

Please sign in to comment.