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 @@ -194,7 +194,7 @@ def f(b):
194
194
b :: bytes
195
195
r0 :: bytes
196
196
L0:
197
- r0 = b.rjust(6, b' ' )
197
+ r0 = CPyBytes_RjustDefaultFill(b, 12 )
198
198
return r0
199
199
200
200
[case testBytesRjustCustom]
@@ -205,7 +205,7 @@ def f(b):
205
205
b, r0, r1 :: bytes
206
206
L0:
207
207
r0 = b'0'
208
- r1 = CPyBytes_Rjust (b, 16, r0)
208
+ r1 = CPyBytes_RjustCustomFill (b, 16, r0)
209
209
return r1
210
210
211
211
[case testBytesLjustDefault]
@@ -216,7 +216,7 @@ def f(b):
216
216
b :: bytes
217
217
r0 :: bytes
218
218
L0:
219
- r0 = b.ljust(7, b' ' )
219
+ r0 = CPyBytes_LjustDefaultFill(b, 14 )
220
220
return r0
221
221
222
222
[case testBytesLjustCustom]
@@ -227,5 +227,5 @@ def f(b):
227
227
b, r0, r1 :: bytes
228
228
L0:
229
229
r0 = b'_'
230
- r1 = CPyBytes_Ljust (b, 20, r0)
230
+ r1 = CPyBytes_LjustCustomFill (b, 20, r0)
231
231
return r1
You can’t perform that action at this time.
0 commit comments