Skip to content

Commit 7da0e83

Browse files
Update irbuild-tuple.test
1 parent 27c21e1 commit 7da0e83

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

mypyc/test-data/irbuild-tuple.test

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -747,20 +747,17 @@ from typing import Final, Literal
747747
def varint() -> int:
748748
# this helper lets us break constant folding for this test
749749
return 2
750-
751750
def varint_check() -> Literal[10]:
752751
# this helper lets us make sure a literal hint is not honored if not certain
753752
return 4
754753

755754
source: Final = (1, varint(), 3, varint_check())
756-
source_check: Final = (1, varint_check(), 3)
757755

758756
def f(val: int) -> bool:
759757
return val % 2 == 0
760758

761759
def test() -> None:
762760
a = tuple(f(x) for x in source)
763-
764761
[out]
765762
def varint():
766763
L0:

0 commit comments

Comments
 (0)