Skip to content

Commit

Permalink
test: remove reuse of capture pattern r2
Browse files Browse the repository at this point in the history
  • Loading branch information
shenyih0ng committed Nov 14, 2024
1 parent 587b104 commit 0a96cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-data/unit/check-python310.test
Original file line number Diff line number Diff line change
Expand Up @@ -1466,7 +1466,7 @@ m3: Tuple[Union[int, str]]
match m3:
case (1,):
reveal_type(m3) # N: Revealed type is "Tuple[Literal[1]]"
case r2:
case r3:
reveal_type(m3) # N: Revealed type is "Tuple[Union[builtins.int, builtins.str]]"

m4: Tuple[Literal[1], int]
Expand Down

0 comments on commit 0a96cf9

Please sign in to comment.