Commit Graph

1619 Commits

Author SHA1 Message Date
Jim Fasarakis-Hilliard
9652c79f1d Merge pull request #2787 from fanninpm/test-yield-from
Add test_yield_from from CPython 3.8
2021-08-08 21:15:28 +03:00
Padraic Fanning
373aff3d69 Mark failing tests due to GitHub Actions 2021-08-08 13:23:37 -04:00
Snowapril
89ca1db86d builtins: add __index__ overriding class support
This commit fix RangeTestCase.test_range test in test_index.py

TryFromObject implementation for RangeIndex enum did not cover classes
that override __index__ operator which cpython implementation is currently providing
(https://docs.python.org/3.8/library/operator.html#operator.__index__)

I add codes that cover upper case using vm.to_index method.

Signed-off-by: snowapril <sinjihng@gmail.com>
2021-08-08 21:27:05 +09:00
voidSatisfaction
3cd1f6b27c Add math.comb function 2021-08-08 20:04:23 +09:00
eldpswp99
1c0bd83809 iskeyword: add None check
there was one todo in test_keyword.py

before: s was PyStrRef, it failed to handle None
after: convert s to PyObjectRef and add None check
2021-08-07 20:24:41 +09:00
Dean Li
06b40b3602 socket: impl herror
There is one todo that is waiting for hstrerror to land in libc crate.
For now it shows the same error as cpython when hstrerror is not
available.
2021-08-07 15:26:09 +08:00
Jeong YunWon
2d78812745 Merge pull request #2797 from fanninpm/test-zipfile
Add test_zipfile from CPython 3.8
2021-08-06 23:21:48 +09:00
Padraic Fanning
d99d255ee1 Mark erroring/failing/hanging tests 2021-08-05 23:32:02 -04:00
Padraic Fanning
12e8f59862 Add test_zipfile from CPython 3.8
Also adds the following supporting files:
 - the entire ziptestdata/ directory
 - zip_cp437_header.zip
 - zipdir.zip
2021-08-05 18:08:38 -04:00
Jeong YunWon
7fc8ddb130 Merge pull request #2795 from DimitrisJim/rangeiter_reduce
Adds reduce, length_hint and set_state to range iterators.
2021-08-06 06:44:32 +09:00
jfh
f3a074ba90 Adds reduce, length_hint and set_state to range iterators. 2021-08-05 23:56:01 +03:00
Jeong YunWon
412fffbc5d Merge pull request #2792 from DimitrisJim/init_bltins
Initialize with init for mutable builtins.
2021-08-05 03:59:19 +09:00
jfh
6950ad6ee4 Initialize with init for mutable builtins. 2021-08-04 20:57:47 +03:00
Jeong YunWon
62af4222ba Merge pull request #2739 from fanninpm/test-xmlrpc
Add test_xmlrpc from CPython 3.8
2021-08-04 14:00:28 +09:00
Padraic Fanning
1cd25cdb41 Mark failing tests due to GitHub Actions sandbox 2021-08-02 20:23:33 -04:00
Padraic Fanning
60e36a08d5 Mark erroring/failing tests 2021-08-02 19:24:44 -04:00
Padraic Fanning
f6aeb8bf09 Add test_yield_from from CPython 3.8 2021-08-02 19:24:43 -04:00
Jim Fasarakis-Hilliard
8f397947fe Merge pull request #2784 from jungsu-kwon/test-deque
added test_deque.py from CPython 3.8.7
2021-08-02 17:20:13 +03:00
jungsu.kwon
d44c98e926 skipped tests with error 2021-08-02 20:29:16 +09:00
jungsu.kwon
c3c8148d68 added expectedFailure for failing tests 2021-08-02 20:17:43 +09:00
jungsu.kwon
4142fd630d skipped hanging/panicking tests 2021-08-02 20:11:06 +09:00
jungsu.kwon
89d349be7a added test_deque.py from CPython 3.8.7 2021-08-02 20:06:28 +09:00
Nikita Sobolev
8009697498 Adds correct __repr__ to PyBuiltinMethod 2021-08-02 19:07:16 +09:00
Jeong YunWon
1d4214fab8 Merge pull request #2738 from fanninpm/test-xml-etree
Add test_xml_etree from CPython 3.8
2021-08-02 16:23:18 +09:00
Jeong YunWon
8d1757381a Merge pull request #2773 from DimitrisJim/math_tests
Add additional files for math tests and fix commented tests in tests_math.
2021-08-02 04:06:52 +09:00
jfh
53e8f5c17d Uncomment tests, mark the failing/need to skip. 2021-08-01 04:21:42 +03:00
jfh
0c81452bf3 Add additional math tests from CPython 3.8 2021-08-01 04:21:06 +03:00
Padraic Fanning
84a5fdb292 Update xml.etree.ElementPath to CPython 3.8 2021-07-31 18:28:28 -04:00
Padraic Fanning
05fff92c1b Update xml.etree.ElementTree to CPython 3.8 2021-07-31 18:28:28 -04:00
Padraic Fanning
4eeb01fbce Mark erroring/failing/hanging tests 2021-07-31 18:28:28 -04:00
Padraic Fanning
111366d8a7 Add test_xml_etree from CPython 3.8
Also adds the following supporting files:
 - everything in the xmltestdata/c14n-20/ directory
 - xmltestdata/expat224_utf8_bug.xml
 - xmltestdata/simple-ns.xml
 - xmltestdata/simple.xml
2021-07-31 18:28:28 -04:00
Padraic Fanning
9db603f0c0 Mark erroring/failing tests 2021-07-31 15:53:37 -04:00
Padraic Fanning
13a08de3e8 Skip tests that appear to hang 2021-07-31 15:53:37 -04:00
Padraic Fanning
340d2c29fa Add test_xmlrpc from CPython 3.8 2021-07-31 15:53:36 -04:00
Jeong YunWon
b57c36ef64 Merge pull request #2769 from DimitrisJim/fast_range_iter
Fast range iterator
2021-08-01 02:51:47 +09:00
jfh
1115511e3d Add fast range iterator. 2021-07-30 19:19:30 +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
Jim Fasarakis-Hilliard
8a967e84c6 Fix arguments for islice. 3 args are allowed. 2021-07-28 11:35:43 +09:00
Jeong YunWon
cb3d58ccce Merge pull request #2749 from deantvv/os-fdopen-invalid
os: fix fdopen invalid file descriptor
2021-07-27 01:03:49 +09:00
Jeong YunWon
4988d1398a Merge pull request #2754 from DimitrisJim/repeat_fixes
Add fixes for itertools.repeat
2021-07-27 01:02:23 +09:00
Dean Li
e1ce1e7ac4 os: fix fdopen invalid file descriptor 2021-07-26 23:00:29 +08:00
jfh
ab382dbc84 Add fixes for itertools.repeat. 2021-07-25 22:13:27 +03:00
Jeong YunWon
24800cbfcf Merge pull request #2742 from DimitrisJim/tuple_iter
Add __length_hint__, __setstate__, __reduce__ for tuple iterator.
2021-07-23 19:11:38 +09:00
jfh
0c764291fd Add __length_hint__, __setstate__, __reduce__ for tuple iterator. 2021-07-21 22:55:54 +03:00
Yossi Konstantinovsky
f35f6ad18c tests: fix test_mac_ver on M1 macs 2021-07-20 14:36:05 +03:00
Yossi Konstantinovsky
570a3893e7 pyexpat: remove expected failure from passing tests 2021-07-20 14:36:05 +03:00
Yossi Konstantinovsky
ec90a2267a pyexpat: mark tests as expected failure 2021-07-20 14:36:05 +03:00
Yossi Konstantinovsky
d382009a5f add initial pyexpat implementation 2021-07-20 14:36:02 +03:00