Skip to content

Commit ee10f39

Browse files
committed
Use expected test result
1 parent 18a41e7 commit ee10f39

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

mypyc/test-data/irbuild-tuple.test

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,8 +1196,7 @@ def f():
11961196
r4 :: i32
11971197
r5 :: bit
11981198
r6 :: short_int
1199-
r7 :: object
1200-
r8 :: tuple
1199+
r7 :: tuple
12011200
L0:
12021201
r0 = PyList_New(0)
12031202
r1 = 0
@@ -1215,9 +1214,8 @@ L3:
12151214
r1 = r6
12161215
goto L1
12171216
L4:
1218-
r7 = PyObject_GetIter(r0)
1219-
r8 = PySequence_Tuple(r7)
1220-
return r8
1217+
r7 = PyList_AsTuple(r0)
1218+
return r7
12211219
def f2():
12221220
r0 :: list
12231221
r1 :: short_int

0 commit comments

Comments
 (0)