Skip to content

Commit

Permalink
Add test for typing.Type
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Sep 29, 2021
1 parent 7274d2a commit f210db8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
isinstance(42, typing.Iterator)
isinstance(42, typing.Tuple)
isinstance(42, typing.Callable)
isinstance(42, typing.Type)


# For comparison - also valid calls
Expand All @@ -22,3 +23,4 @@
isinstance(42, collections.abc.Iterator)
isinstance(42, tuple)
isinstance(42, collections.abc.Callable)
isinstance(42, type)

0 comments on commit f210db8

Please sign in to comment.