Commit Graph
29 Commits
Author SHA1 Message Date
Shahar Naveh 4d3ddac7c3 Update some tests to 3.14.6 (#8167)
* Add `test_fileutils.py` from 3.14.6

* Align patch for `test_zipimport_support.py`

* Update `test_bigmem.py` to 3.14.6

* Update `test_exception_group.py`

* Align patches for `test_baseexception.py`

* Update `test_exceptions.py`

* Update `test_dtrace.py`

* Remove patch from `string_tests.py`
2026-06-25 22:33:51 +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
Shahar Naveh ac20b00e26 str.replace support count as keyword arg (#5954) 2025-07-12 22:43:47 +09: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
Noa a86126419c Fix remaining tests 2025-03-25 19:05:12 -05:00
Yongjin f7eb51204a Returns new string when (str|bytes).replace get empty original string 2023-03-27 15:05:45 +09:00
Yongjin 3fde8f3b27 update string_tests.py from python 3.11.2 2023-03-27 15:05:01 +09:00
Jeong YunWon 5c43cab499 Fix str.join with str subclass 2023-02-13 22:05:53 +09:00
Dennis Zhuang eba6833096 PyStr::mul optimization for i=0 or str='' 2022-05-14 21:38:23 +08:00
Padraic Fanning 7ab8ab1c5e Explain test_replace_overflow skip 2021-02-07 15:49:41 -05:00
Noah b245712949 Fix some 32-bit only oom tests + others 2020-06-06 17:14:32 -05:00
TheAnyKey daaf906320 Implement Python 3.9 style string functions: removeprefix and removesuffix PEP616
* implement and test Py39 string operations removeprefix and removesuffix.
* Added test snippets for it using an also contained extension of testutils
2020-05-19 09:17:13 +09:00
Jeong YunWon a115005c3d Fix find/index/count not to raise error for bigint start/end arguments 2020-04-29 23:07:12 +09:00
Jeong YunWon f471f61472 Fix bytes.count 2020-04-27 11:35:37 +09:00
Jeong YunWon 06463f98eb Fix bytes.find 2020-04-27 11:34:46 +09:00
Jeong YunWon 37e5c9bd7e Fix bytes.replace 2020-04-19 03:23:56 +09:00
Jeong YunWon 2516f69879 Fix bytes.split 2020-04-15 11:36:38 +09:00
Jeong YunWon 8b23271800 Merge pull request #1852 from youknowone/bytes-strip
Fix {bytes|bytearray}.{|r|l}strip
2020-04-12 02:30:36 +09:00
Jeong YunWon f434898fa5 Fix bytes.zfill and integrate with str.zfill 2020-04-11 23:37:04 +09:00
Jeong YunWon 75ebaedaf1 Fix {bytes|bytearray}.{|r|l}strip 2020-04-11 22:22:33 +09:00
Jeong YunWon 95e938cb9b Fix {str|bytes|bytearray}.{isascii,islower,isupper} 2020-04-11 11:01:05 +09:00
Jeong YunWon ef1815a4ca Disable failing tests from test_bytes.py 2020-03-13 10:20:09 +09:00
Noah 3498a52e18 Merge pull request #1808 from youknowone/str-splitlines
Fix str.splitlines() for \r
2020-03-12 17:44:05 -05:00
Noah 2e06e167d6 Merge pull request #1807 from youknowone/str-expandtabs
Fix str.expandtab() for newlines
2020-03-12 17:02:31 -05:00
Jeong YunWon 967952dd40 Fix str.splitlines() for \r 2020-03-11 05:47:41 +09:00
Jeong YunWon 6cb8b665a2 Fix str.expandtab() for newlines 2020-03-11 05:11:25 +09:00
Jeong YunWon dd8bef4334 Fix str.zfill 2020-03-09 03:22:43 +09:00
Jeong YunWon b5df09ae14 Disable failing unicode/string tests 2020-03-08 06:23:51 +09:00
CPython dev e815835390 Lib/test/test_unicode.py from CPython 3.8.2 2020-03-08 06:23:51 +09:00