61 Commits

Author SHA1 Message Date
MegasKomnenos
1795740517 Allow try_update_quantity_from_tuple to set left alignment when needed (#4766) 2023-03-26 21:01:44 +09:00
MegasKomnenos
f63e6f3e1b Flag/skip failing tests 2023-03-25 14:30:26 +09:00
MegasKomnenos
adb8d08995 Update test_bytes.py from CPython v3.11.2 2023-03-25 14:02:17 +09:00
CPython developers
36f5134bca Update test_bytes from CPython 3.10.5 2022-07-18 04:07:35 +09:00
kimnanhee
4b659f92aa Fix byte indices must be integers or slices, error message 2022-07-16 15:38:21 +09:00
JaeHyung Jang
9757c8244f Setitem error have type name (#3770) 2022-06-11 16:48:07 +09:00
Dean Li
29c953d9a6 test: update test.support and test_io to 3.10
Initially this is only meant to be a small update for `test_io.py`.
But it turns out that `test.support` need a lot of cleanup especially
for `test.support.warnings_helper`.
2022-04-18 22:50:55 +08:00
Kangzhi Shi
10020a910c mark fail tests 2022-03-12 16:12:12 +09:00
Padraic Fanning
671989ce12 Unmark passing test in test_bytes.py 2022-02-06 19:59:30 -05:00
Dean Li
6f98288e84 test: use import_helper 2021-11-29 21:03:02 +08:00
Narawit Rakket
cf7c8154bf Fix maketrans not thrown ValueError when length of the arguments are not the same 2021-11-27 12:12:18 +07:00
YYun-D
7de142fcd1 remove bytearray and byte docs
Signed-off-by: YYun-D <yeo1998@naver.com>
2021-11-21 12:37:01 +09:00
Kangzhi Shi
4e6c451b2a Impl pickling for bytes and bytearray 2021-10-01 16:49:27 +02:00
jfh
97b8d7ca7b Add checking for repeat on sequences. 2021-08-29 17:43:47 +03:00
Kangzhi Shi
343d158c34 fix pattern for construct the bytes and bytearray 2021-08-25 09:44:48 +02:00
Kangzhi Shi
1384133636 fix bytes and bytearray fromhex support subclass 2021-08-23 16:43:01 +02:00
Kangzhi Shi
67b81c8db5 fix object.__format__ error string 2021-08-23 08:18:45 +02:00
jfh
04c9ae0c83 Fix bytearray.__init__. 2021-08-10 21:03:07 +03:00
jfh
a136db2917 Add __alloc__ for bytearray, add note to tests. 2021-08-10 19:09:22 +03:00
Jeong YunWon
2d3b85b28c Mark unexpected failre of new test_bytes tests 2021-07-30 21:56:01 +09:00
Jeong YunWon
b5686d01ca Update test_bytes.py to 3.9.6 2021-07-30 21:56:01 +09:00
fermian
766fbeadaf Fix list_tests.py 2021-07-29 22:54:51 +09:00
Noah
4d03383e6c Unskip tests 2021-05-21 17:38:51 -05:00
Padraic Fanning
18bf1a42c0 Explain test_repeat skip 2021-02-07 15:49:41 -05:00
Kangzhi Shi
81d791b04b fix op branch 2021-01-21 12:48:32 +02:00
Kangzhi Shi
d4af9d0bfe Reimpl cformat to suit for bytes 2020-11-01 20:04:41 +02:00
Kangzhi Shi
287e16351c Impl readinto for BufferedReader 2020-10-24 16:26:18 +02:00
Kangzhi Shi
1d4cfa4381 bytes pickle with subclass 2020-10-23 14:42:13 +02:00
Kangzhi Shi
64f4282ede fix error type 2020-10-16 09:34:35 +02:00
Kangzhi Shi
21a9e05abc Reimplement bytes fromhex 2020-10-12 10:09:15 +02:00
Kangzhi Shi
a3243da0d6 test_bytes remove @skip for successed test 2020-10-11 15:24:41 +02:00
Steve Shi
2d9b1d0649 Implement bytes.hex() with optional sep 2020-10-11 18:34:08 +09:00
Kangzhi Shi
6058d653a8 memoryview hex 2020-10-10 17:01:00 +09:00
Jeong YunWon
39058e2519 getitem for bytes/bytearray 2020-10-10 13:40:02 +09:00
Kangzhi Shi
d936b0c7d1 Implement pickle for bytes 2020-09-19 08:54:08 +02:00
Kangzhi Shi
20054bcce5 Fix bytes contractor 2020-09-19 08:54:08 +02:00
Kangzhi Shi
3192622ff6 Remove comment 2020-09-14 16:23:14 +02:00
Kangzhi Shi
036a791b51 Fix bytearray extend 2020-09-14 16:23:14 +02:00
Kangzhi Shi
b210eb8d4a Fix bytearray remove 2020-09-14 16:23:14 +02:00
Kangzhi Shi
3397d56f58 Fix bytearray append 2020-09-14 16:23:13 +02:00
Kangzhi Shi
a37737b0cd Fix bytearray insert 2020-09-14 16:23:13 +02:00
Kangzhi Shi
ac1e00f944 Fix bytearray pop() 2020-09-14 16:23:13 +02:00
Kangzhi Shi
be5599bf86 Fix bytes __add__ and __iadd__ 2020-09-14 16:23:13 +02:00
Kangzhi Shi
4d40a36fd2 Fix byte __imul__ 2020-09-14 16:23:13 +02:00
Kangzhi Shi
a9e02597cd Fix bytes setitem with Indexable value 2020-09-12 09:44:46 +02:00
Kangzhi Shi
c2c5a81e38 Fix bytes stuck on setslice 2020-09-10 10:15:08 +02:00
Steve Shi
a5d0df25f7 Refactor with PySliceableSequenceMut trait to combine the slice operation 2020-09-06 17:08:42 +09:00
Noah
5594660459 Fix bytes decode/encoding tests 2020-09-02 10:34:25 -05:00
Youngchan Lee
57fbce9d31 Handle TypeErrors in bytes() & bytearray() 2020-08-26 14:11:50 +09:00
Noah
2fc90e17ac Fix error messages for index overflows 2020-06-06 17:14:32 -05:00