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):
194194 b :: bytes
195195 r0 :: bytes
196196L0:
197- r0 = b.rjust(6, b' ' )
197+ r0 = CPyBytes_RjustDefaultFill(b, 12 )
198198 return r0
199199
200200[case testBytesRjustCustom]
@@ -205,7 +205,7 @@ def f(b):
205205 b, r0, r1 :: bytes
206206L0:
207207 r0 = b'0'
208- r1 = CPyBytes_Rjust (b, 16, r0)
208+ r1 = CPyBytes_RjustCustomFill (b, 16, r0)
209209 return r1
210210
211211[case testBytesLjustDefault]
@@ -216,7 +216,7 @@ def f(b):
216216 b :: bytes
217217 r0 :: bytes
218218L0:
219- r0 = b.ljust(7, b' ' )
219+ r0 = CPyBytes_LjustDefaultFill(b, 14 )
220220 return r0
221221
222222[case testBytesLjustCustom]
@@ -227,5 +227,5 @@ def f(b):
227227 b, r0, r1 :: bytes
228228L0:
229229 r0 = b'_'
230- r1 = CPyBytes_Ljust (b, 20, r0)
230+ r1 = CPyBytes_LjustCustomFill (b, 20, r0)
231231 return r1
You can’t perform that action at this time.
0 commit comments