Skip to content

Commit

Permalink
Fix nonsensical type in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD committed Oct 15, 2023
1 parent 5bba33a commit 0621e1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def test_typing_extensions_Type_int():
assert from_type(Type[int]).example() is int


@given(from_type(Type[Union[str, list]]))
@given(from_type(Union[Type[str], Type[list]]))
def test_typing_extensions_Type_Union(ex):
assert ex in (str, list)

Expand Down

0 comments on commit 0621e1b

Please sign in to comment.