42 Commits

Author SHA1 Message Date
Jeong, YunWon
af884cb284 First step for Python 3.12 support (#5078)
* Mark 3.12

* Update importlib from Python 3.12.0

* Update test_importlib from Python3.12

* Mark failings tests from importlib

* Update test.support from Python3.12

* Fix unsupported parser feature

* mark failing test

* Update functools from Python 3.12

* manual type annotation

* slice behavior changed in 3.12

* empty unittest.main returns non-zero

* test_decimal from CPython 3.12

* Mark failing tests

* Update test_unicode from CPython 3.12

* Update test_functools from Python 3.12

* Update enum from Python 3.12

* enum

* Doc format changed

* Update test_module from CPython

---------

Co-authored-by: CPython developers <>
2023-10-22 19:19:05 -07:00
dvermd
0d0139b322 Update enum to CPython 3.11.5 (#5074)
part of: #4564
2023-10-03 22:32:38 +09:00
Jeong YunWon
195673b01a Add vm.format to call __format__ like PyObject_Format 2023-03-03 03:29:50 +09:00
dvermd
f2bfb78d3c Fix ast types' _fields and use 0-based column 2022-10-27 03:09:38 +09:00
Jeong Yunwon
2f488cb153 adjust failing tests from test_unicode* 2022-07-18 04:07:35 +09:00
Jeong Yunwon
ff7b96f91c Update test_unicode* from CPython 3.10.5 2022-07-18 04:07:35 +09:00
zer0who
1c473b6536 Deleted todo, expectedFailure 2022-07-14 20:56:51 +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
Jeong YunWon
8484a91ed3 Fix reflection operator priority for subtypes 2022-04-14 02:38:54 +09:00
Dean Li
6f98288e84 test: use import_helper 2021-11-29 21:03:02 +08:00
BongYang
7b79c09c3c pystr.rs isdecimal() checks not only ASCII but also Unicode decimals 2021-11-20 16:08:27 +09:00
Tony Jinwoo Ahn
6e1c9c68b6 Fix range of "invalid start byte" for UTF-8
Signed-off-by: Tony Jinwoo Ahn <tony.jinwoo.ahn@gmail.com>
2021-09-04 21:09:52 +09:00
Frank King
e652ae8fc0 Support unicode array type. 2021-08-21 20:18:05 +08:00
Noah
4d03383e6c Unskip tests 2021-05-21 17:38:51 -05:00
Padraic Fanning
ab84958df9 Unskip test in test_unicode 2021-02-25 23:05:45 -05:00
Padraic Fanning
1ca6aa7894 Explain test_raiseMemError skip 2021-02-08 21:27:19 -05:00
Padraic Fanning
2746cc8d05 Unskip test_formatting_huge_width 2021-02-08 21:25:49 -05:00
Padraic Fanning
dacc6d9217 Unskip test_formatting_huge_precision 2021-02-08 21:23:09 -05:00
Padraic Fanning
1db5622c21 Explain test_format_huge_item_number skip 2021-02-08 21:21:04 -05:00
Padraic Fanning
64265e49be Unskip test_format_huge_width 2021-02-08 21:19:44 -05:00
Padraic Fanning
6411f7965a Explain test_format_huge_precision skip 2021-02-08 21:17:22 -05:00
Jeong YunWon
864d25566a unksip test_unicode.py 2020-11-12 11:30:33 +09:00
Ben Lewis
fa3e571889 Unmark tests that are now passing in test_unicode.py. 2020-08-02 07:22:05 +12:00
Ben Lewis
58ae89969f Fix str.isspace to support unicode space characters. 2020-07-04 11:20:33 +12:00
Noah
b245712949 Fix some 32-bit only oom tests + others 2020-06-06 17:14:32 -05:00
Jeong YunWon
46945c334c Merge pull request #1897 from youknowone/fix-bytes-find
Fix find/index/count not to crash for bigint start/end arguments
2020-05-01 00:51:23 +09:00
Jeong YunWon
0c5d333cdb Merge pull request #1891 from RustPython/coolreader18/fix-codec-tests
Fix a few codecs tests
2020-04-30 03:58:33 +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
ec00d727dd Fix str.center and all pad methods into pystr 2020-04-29 03:05:01 +09:00
Noah
8a4af38f54 Unskip test_unicode.test_codecs_errors 2020-04-27 15:13:49 -05:00
Noah
a540f042e8 Add _codecs.charmap_build, fix other _codecs issues 2020-04-14 14:59:54 -05:00
Jeong YunWon
7d7d048758 Fix {str|bytes|bytearray}.partition 2020-04-12 14:14:49 +09:00
Jeong YunWon
a12671d5e5 Merge pull request #1857 from youknowone/str-split
Fix str.split to raise empty seprator error
2020-04-11 23:38:24 +09:00
Jeong YunWon
e57d4d3d7b Fix str.split to raise empty seprator error 2020-04-11 19:00:28 +09:00
Jeong YunWon
62febeb80c Fix str.replace negative value 2020-04-11 10:42:29 +09:00
Noah
2453b73417 Mark failing test 2020-04-02 17:42:01 -05:00
Jeong YunWon
be6f49456f Merge pull request #1812 from youknowone/str-repr
Fix str.__repr__ and builtin ascii
2020-03-21 09:53:49 +09:00
Jeong YunWon
d7e32680a9 Fix str.isalpha 2020-03-13 08:47:21 +09:00
Jeong YunWon
dc6fa6cf62 Fix str.isascii 2020-03-13 08:47:21 +09:00
Jeong YunWon
39e1cf1751 Fix str.__repr__ and builtin ascii 2020-03-13 08:11:36 +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