Skip to content
Merged
Prev Previous commit
Next Next commit
Fix get_origin test and remove debug line
  • Loading branch information
mrahtz committed Oct 15, 2022
commit af8b9728516afd57f6f48b90c1c633158948083f
3 changes: 1 addition & 2 deletions Lib/test/test_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -5183,8 +5183,7 @@ class C(Generic[T]): pass
self.assertIs(get_origin((*Ts,)[0]), Unpack)
self.assertIs(get_origin(Unpack[Ts]), Unpack)
self.assertIs(get_origin((*tuple[*Ts],)[0]), tuple)
get_origin(Unpack[Tuple[Unpack[Ts]]])
self.assertIs(get_origin(Unpack[Tuple[Unpack[Ts]]]), typing.Tuple)
self.assertIs(get_origin(Unpack[Tuple[Unpack[Ts]]]), Unpack)

def test_get_args(self):
T = TypeVar('T')
Expand Down