Jeong YunWon
eaae134356
Merge pull request #3259 from Jack-R-lantern/__contains__
...
Add contains in dict_items
2021-10-10 14:01:11 +09:00
Jack-R-lantern
8056604102
Add __contains__ in dict_items
2021-10-09 17:48:55 +09:00
Jeong YunWon
c83eb12d0a
Merge pull request #3258 from youknowone/ascii-buffer
...
ArgAsciiBuffer
2021-10-09 16:27:47 +09:00
Dolpheyn
922d233faa
Add rand, ror, rsub operators in dict_keys
2021-10-09 07:53:38 +08:00
Jeong YunWon
7082abdce1
Merge pull request #3249 from joohongpark/test_dict
...
Add rand, ror, rsub operators in dict_items
2021-10-08 16:30:12 +09:00
joohongpark
c2d6bef793
Add rand, ror, rsub operators in dict_items, remove test annotation
2021-10-08 14:44:39 +09:00
ChJR
296f18326e
Make OSError subclass instead of itself
2021-10-08 02:33:44 +09:00
Jeong YunWon
cb87fa3562
Merge pull request #3228 from chrismoradi/fix-complex-repr-tests
...
Fix repr for complex numbers involving NaN
2021-10-07 23:37:56 +09:00
Jeong YunWon
4a544a3ca6
Unmark successful tests
2021-10-07 23:28:25 +09:00
snpark
0c38ff5b89
fix: float_info is supported
2021-10-07 16:23:55 +09:00
Jim Fasarakis-Hilliard
c8651a255b
Merge pull request #3237 from DimitrisJim/restore_test_cmath
...
Restore test_cmath to original form.
2021-10-06 19:08:55 +03:00
jfh
ac40213a6a
Restore test_cmath to original form.
2021-10-06 17:20:42 +03:00
snowapril
30a37b5baf
remove decorator on unexpected success test
...
Signed-off-by: snowapril <sinjihng@gmail.com >
2021-10-06 20:25:10 +09:00
snowapril
53e8c77c3b
add zip related tests from cpython 3.10
...
Signed-off-by: snowapril <sinjihng@gmail.com >
2021-10-06 20:25:10 +09:00
Alex Muscar
cd4216097f
fix: __repr__ use collection subclass name
...
Addresses: https://github.com/RustPython/RustPython/issues/3217
This patch changes the `set`, `frozenset`, `deque` and `bytearray`
collections to use the subclass name in `__repr__`, if they are
subclassed.
2021-10-06 10:01:36 +01:00
Jim Fasarakis-Hilliard
acb7905048
Merge pull request #3227 from rishit-khandelwal/main
...
Add asin and acos
2021-10-06 08:56:22 +03:00
Chris Moradi
911de9791a
cmath test passes too
2021-10-05 10:56:55 -07:00
Chris Moradi
6af6bfdab7
Fix repr for complex numbers involving NaN
2021-10-05 10:25:49 -07:00
Aphek
1ff85118fc
Fix test_chr by raising a ValueError on chr(-1) instead of OverflowError
2021-10-05 12:40:20 -03:00
rishit khandelwal
1823dc09fa
add asin and acos
2021-10-05 17:01:49 +05:30
Jim Fasarakis-Hilliard
c1679d8074
Merge pull request #3206 from chrismoradi/fix-invalid-syntax-tests
...
Fix error message for named expression syntax errors
2021-10-03 18:31:33 +03:00
Padraic Fanning
b7a79eb002
Mark erroring/failing tests
2021-10-02 18:34:23 -04:00
Chris Moradi
8bb1aabf2e
Fix error message for named expression syntax errors
2021-10-02 13:43:50 -07:00
Padraic Fanning
56058844fe
Skip panicking test
2021-10-02 16:16:00 -04:00
Padraic Fanning
b95edf676f
Add test_compile from CPython 3.8
2021-10-02 16:14:42 -04:00
Jim Fasarakis-Hilliard
12d765fce3
Merge pull request #3196 from Snowapril/fix_pystruct
...
Fix pystruct incompatibility and add `test_buffer.py` from cpython 3.8
2021-10-02 17:27:21 +03:00
snowapril
c5cc179182
remove decorators on success tests
...
Signed-off-by: snowapril <sinjihng@gmail.com >
2021-10-02 20:36:43 +09:00
snowapril
40101b726c
remove decorators on success tests
...
Signed-off-by: snowapril <sinjihng@gmail.com >
2021-10-02 20:33:47 +09:00
snowapril
2b0c16d209
add test_buffer.py from cpython 3.8
...
Signed-off-by: snowapril <sinjihng@gmail.com >
2021-10-02 19:07:01 +09:00
Jeong YunWon
13a052b9ca
Merge pull request #3094 from qingshi163/bytes-iter-pickle
...
General logic for positional iterator
2021-10-02 15:37:50 +09:00
Tony Jinwoo Ahn
8d3461d1bb
Enable exp() for cmath test
2021-10-02 13:59:36 +09:00
Padraic Fanning
c3221a0d7b
Unmark passing tests
2021-10-01 19:39:57 -04:00
Noa
b38ce3dbd3
Merge pull request #3158 from RustPython/pip-warnings
...
Miscellaneous pip fixes
2021-10-01 13:34:52 -05:00
Eric Hagman
e3e4071a00
fix: remove custom tests from cmath
2021-10-01 10:52:34 -04:00
Kangzhi Shi
4e6c451b2a
Impl pickling for bytes and bytearray
2021-10-01 16:49:27 +02:00
Eric Hagman
787f6c1be6
Merge remote-tracking branch 'upstream/main' into cmath-sinh-cosh
2021-10-01 10:00:09 -04:00
Eric Hagman
55be9547d7
feat: add sinh and cosh to cmath
2021-10-01 09:52:39 -04:00
Jeong YunWon
7d859f54b9
unmark resolved test
2021-10-01 22:32:44 +09:00
snowapril
4014b91780
add decorators on failed & error tests
...
Signed-off-by: snowapril <sinjihng@gmail.com >
2021-10-01 14:10:58 +09:00
snowapril
1253fe0952
add tset__osx_support.py from cpython 3.8
...
Signed-off-by: snowapril <sinjihng@gmail.com >
2021-10-01 14:10:58 +09:00
snowapril
2432c784c3
add test_cmd_line_script.py from cpython 3.8
...
Signed-off-by: snowapril <sinjihng@gmail.com >
2021-10-01 14:10:58 +09:00
snowapril
c2f11e593d
add test_codeccallbacks.py from cpython 3.8
...
Signed-off-by: snowapril <sinjihng@gmail.com >
2021-10-01 14:10:58 +09:00
snowapril
5317f88118
add test_binhex.py from cpython 3.8
...
Signed-off-by: snowapril <sinjihng@gmail.com >
2021-10-01 14:10:58 +09:00
snowapril
4872e35210
add test_trace.py from cpython 3.8
...
Signed-off-by: snowapril <sinjihng@gmail.com >
2021-10-01 14:10:58 +09:00
snowapril
957bae668b
add test_zipapp.py from cpython 3.8
...
Signed-off-by: snowapril <sinjihng@gmail.com >
2021-10-01 14:10:58 +09:00
Noa
65fa12a55a
Fix test failures
2021-09-30 18:33:51 -05:00
lijm1358
438661dc44
Add atanh and atan to cmath
2021-10-01 01:19:43 +09:00
LeeBeomsu
59b707c2ac
add asinh function to cmath
...
Signed-off-by: LeeBeomsu <dlqjatn2@gmail.com >
2021-09-30 21:46:25 +09:00
Dean Li
66bb59016d
generalize IOErrorWithFilename to use PathOrFd
2021-09-29 22:16:45 +08:00
Dean Li
3af3b1f0d9
OSError with filename and filename2
...
Implement OSError members `filename` and `filename2` by adding a new
struct `IOErrorWithFilename` will implement `IntoPyException`.
This PR will *NOT* pass more CPython test(*) but will allow user to
access `attr:filename` in OSError exception which IMO is a important
feacture.
2021-09-28 20:08:57 +08:00