Commit Graph

70 Commits

Author SHA1 Message Date
Shahar Naveh
3ed8c91fef Update test/support to 3.14.5 (#7896)
* Update `test/support` to 3.14.5

* Adjuat test markers

* Add `test_set` to env polluting tests
2026-05-18 00:23:06 +09:00
Shahar Naveh
3e66fb508a Update str related tests (#7758)
* Update `string_tests.py` to 3.14.4

* Update `test_bytes.py` to 3.14.4

* Update `test_userstring.py` to 3.14.4

* Mark failing tests
2026-05-03 00:15:03 +09:00
Jeong, YunWon
d3d63ea2d3 enable test_bytes (#6777) 2026-01-18 21:33:37 +09:00
Terry Tianlin Luan
609dbb1439 Downgraded skips in tests (#6716)
* Downgraded skips in tests

* Fixed failing tests

* Fixed test_ftplib + test_socket + test_ssl + test_threaded_import failures

* Removed comments about which tests are run in which environment

* Addressed PR comments

* Annotated skips on failing tests

* Removed unneeded tests

* Removed unneeded sys import from test_ftplib

* Added annotation to test_ftplib

* Readded skipIf to test_cleanup_with_symlink_modes with a more general ENV_POLLUTING_TESTS_WINDOWS

* Addressed PR comments

* Made changes to minimize diff in PR

* Apply suggestion from @youknowone

---------

Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>
2026-01-15 21:43:22 +09:00
ShaharNaveh
360f8caead Reaaply patches to test_bytes.py 2025-10-22 10:57:47 +03:00
ShaharNaveh
19b6241ef9 Update changed files from 3.13.7 -> 3.13.8 2025-10-22 10:57:47 +03:00
Shahar Naveh
e75aebb967 Update str related tests from 3.13.5 (#5953)
* Update str related tests from 3.13.5

* Apply RustPython patches

* Mark new failing tests
2025-07-12 20:44:34 +09:00
Jeong YunWon
44d312419a Fix bytes constructor 2025-06-22 17:40:04 +09:00
Ashwin Naren
b81ae9b954 More cspell fixes (#5670) 2025-04-11 09:37:20 +09:00
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