Skip to content

Commit 4e04739

Browse files
committed
make CI python happy
1 parent 445e462 commit 4e04739

File tree

1 file changed

+4
-1
lines changed
  • graalpython/com.oracle.graal.python.test/src/tests/cpyext

1 file changed

+4
-1
lines changed

graalpython/com.oracle.graal.python.test/src/tests/cpyext/test_slice.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ def reference_get_indices(slize, length):
5454
slicelength = 0
5555
for i in range(r[0], r[1], r[2]):
5656
slicelength += 1
57-
return (0, *r, slicelength)
57+
retval = [0]
58+
retval += list(r)
59+
retval.append(slicelength)
60+
return tuple(retval)
5861

5962

6063
test_PySlice_GetIndicesEx = CPyExtFunction(

0 commit comments

Comments
 (0)