Skip to content

Commit 9bb169c

Browse files
committed
fix ir
1 parent d6090bb commit 9bb169c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mypyc/test-data/irbuild-bytes.test

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,10 @@ def f(b: bytes) -> bytes:
202202
return b.rjust(8, b'0')
203203
[out]
204204
def f(b):
205-
b, r0 :: bytes
205+
b, r0, r1 :: bytes
206206
L0:
207-
r0 = b'_'
208-
r1 = CPyBytes_Rjust(b, 20, r0)
207+
r0 = b'0'
208+
r1 = CPyBytes_Rjust(b, 16, r0)
209209
return r1
210210

211211
[case testBytesLjustDefault]
@@ -224,7 +224,7 @@ def f(b: bytes) -> bytes:
224224
return b.ljust(10, b'_')
225225
[out]
226226
def f(b):
227-
b, r0 :: bytes
227+
b, r0, r1 :: bytes
228228
L0:
229229
r0 = b'_'
230230
r1 = CPyBytes_Ljust(b, 20, r0)

0 commit comments

Comments
 (0)