File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ def f(b):
226
226
b :: bytes
227
227
r0 :: bytes
228
228
L0:
229
- r0 = b.rjust(6, b' ' )
229
+ r0 = CPyBytes_RjustDefaultFill(b, 12 )
230
230
return r0
231
231
232
232
[case testBytesRjustCustom]
@@ -237,7 +237,7 @@ def f(b):
237
237
b, r0, r1 :: bytes
238
238
L0:
239
239
r0 = b'0'
240
- r1 = CPyBytes_Rjust (b, 16, r0)
240
+ r1 = CPyBytes_RjustCustomFill (b, 16, r0)
241
241
return r1
242
242
243
243
[case testBytesLjustDefault]
@@ -248,7 +248,7 @@ def f(b):
248
248
b :: bytes
249
249
r0 :: bytes
250
250
L0:
251
- r0 = b.ljust(7, b' ' )
251
+ r0 = CPyBytes_LjustDefaultFill(b, 14 )
252
252
return r0
253
253
254
254
[case testBytesLjustCustom]
@@ -259,5 +259,5 @@ def f(b):
259
259
b, r0, r1 :: bytes
260
260
L0:
261
261
r0 = b'_'
262
- r1 = CPyBytes_Ljust (b, 20, r0)
262
+ r1 = CPyBytes_LjustCustomFill (b, 20, r0)
263
263
return r1
You can’t perform that action at this time.
0 commit comments