Skip to content

Commit ff5078e

Browse files
committed
Add a comment.
1 parent b8ced40 commit ff5078e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/test/test_typing.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5855,6 +5855,8 @@ def __typing_subst__(*_):
58555855
return 42 # not tuple
58565856

58575857
evil = EvilTypeVar()
5858+
# Create a dummy TypeAlias that will be given the evil generic from
5859+
# above.
58585860
type type_alias[*_] = 0
58595861
with self.assertRaisesRegex(TypeError, ".+__typing_subst__.+tuple.+int.*"):
58605862
type_alias[evil][0]

0 commit comments

Comments
 (0)