File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -742,16 +742,13 @@ L4:
742742 return 1
743743
744744[case testTupleBuiltFromFinalFixedLengthTuple]
745- from typing import Final, Literal
745+ from typing import Final
746746
747747def varint() -> int:
748748 # this helper lets us break constant folding for this test
749749 return 2
750- def varint_check() -> Literal[10]:
751- # this helper lets us make sure a literal hint is not honored if not certain
752- return 4
753750
754- source: Final = (1, varint(), 3, varint_check() )
751+ source: Final = (1, varint(), 3)
755752
756753def f(val: int) -> bool:
757754 return val % 2 == 0
@@ -762,9 +759,6 @@ def test() -> None:
762759def varint():
763760L0:
764761 return 4
765- def varint_check():
766- L0:
767- return 8
768762def f(val):
769763 val, r0 :: int
770764 r1 :: bit
773767 r1 = int_eq r0, 0
774768 return r1
775769def test():
776- r0 :: tuple[int, int, int, int ]
770+ r0 :: tuple[int, int, int]
777771 r1 :: bool
778772 r2 :: object
779773 r3 :: native_int
You can’t perform that action at this time.
0 commit comments