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):
226226 b :: bytes
227227 r0 :: bytes
228228L0:
229- r0 = b.rjust(6, b' ' )
229+ r0 = CPyBytes_RjustDefaultFill(b, 12 )
230230 return r0
231231
232232[case testBytesRjustCustom]
@@ -237,7 +237,7 @@ def f(b):
237237 b, r0, r1 :: bytes
238238L0:
239239 r0 = b'0'
240- r1 = CPyBytes_Rjust (b, 16, r0)
240+ r1 = CPyBytes_RjustCustomFill (b, 16, r0)
241241 return r1
242242
243243[case testBytesLjustDefault]
@@ -248,7 +248,7 @@ def f(b):
248248 b :: bytes
249249 r0 :: bytes
250250L0:
251- r0 = b.ljust(7, b' ' )
251+ r0 = CPyBytes_LjustDefaultFill(b, 14 )
252252 return r0
253253
254254[case testBytesLjustCustom]
@@ -259,5 +259,5 @@ def f(b):
259259 b, r0, r1 :: bytes
260260L0:
261261 r0 = b'_'
262- r1 = CPyBytes_Ljust (b, 20, r0)
262+ r1 = CPyBytes_LjustCustomFill (b, 20, r0)
263263 return r1
You can’t perform that action at this time.
0 commit comments