File tree Expand file tree Collapse file tree 1 file changed +0
-66
lines changed Expand file tree Collapse file tree 1 file changed +0
-66
lines changed Original file line number Diff line number Diff line change 185185 r10 = CPyBytes_Build(2, var, r9)
186186 b4 = r10
187187 return 1
188-
189- [case testBytesRjustDefault]
190- def f(b: bytes) -> bytes:
191- return b.rjust(6)
192- [out]
193- def f(b):
194- b :: bytes
195- r0 :: bytes
196- L0:
197- r0 = b.rjust(6, b' ')
198- return r0
199-
200- [case testBytesRjustCustom]
201- def f(b: bytes) -> bytes:
202- return b.rjust(8, b'0')
203- [out]
204- def f(b):
205- b :: bytes
206- r0 :: bytes
207- L0:
208- r0 = b.rjust(8, b'0')
209- return r0
210-
211- [case testBytesLjustDefault]
212- def f(b: bytes) -> bytes:
213- return b.ljust(7)
214- [out]
215- def f(b):
216- b :: bytes
217- r0 :: bytes
218- L0:
219- r0 = b.ljust(7, b' ')
220- return r0
221-
222- [case testBytesLjustCustom]
223- def f(b: bytes) -> bytes:
224- return b.ljust(10, b'_')
225- [out]
226- def f(b):
227- b :: bytes
228- r0 :: bytes
229- L0:
230- r0 = b.ljust(10, b'_')
231- return r0
232-
233- [case testBytesRjustNoPad]
234- def f(b: bytes) -> bytes:
235- return b.rjust(2)
236- [out]
237- def f(b):
238- b :: bytes
239- r0 :: bytes
240- L0:
241- r0 = b.rjust(2, b' ')
242- return r0
243-
244- [case testBytesLjustNoPad]
245- def f(b: bytes) -> bytes:
246- return b.ljust(1)
247- [out]
248- def f(b):
249- b :: bytes
250- r0 :: bytes
251- L0:
252- r0 = b.ljust(1, b' ')
253- return r0
You can’t perform that action at this time.
0 commit comments