Jeong YunWon
cc8153ffda
Merge pull request #3384 from OddBloke/oddbloke/fstat
...
stdlib/os.rs: update wrong-type exception text for __fspath__
2022-04-16 00:53:32 +09:00
Jeong YunWon
dc795873c3
Merge pull request #3449 from waroad/update_test_string
...
Update test_string.py
2022-04-16 00:40:18 +09:00
Daniel Watkins
9712a322f9
Lib/test: remove expectedFailure decorator from now-fixed tests
...
Evidently the changes to how we handle `__name__` and `__qualname__`
have fixed the errors we were seeing in test_enum and test_typing.
2022-04-16 00:38:12 +09:00
Daniel Watkins
2960ebc0d1
test/test_builtin.py: run most of test_type_name
...
The remaining failures are due to what appears to be a fundamental
difference between how RustPython and CPython handle surrogate
characters/codepoints-which-aren't-characters. They are wrapped with
`self.assertRaises(AssertionError)` so we will notice once they start
passing.
https://github.com/RustPython/RustPython/issues/935 is most likely
related.
2022-04-16 00:38:12 +09:00
Daniel Watkins
98079878cb
stdlib/os.rs: update wrong-type exception text for __fspath__
...
In CPython this error message is constructed by path_converter in
posixmodule.c[0].
[0] https://github.com/python/cpython/blob/main/Modules/posixmodule.c#L1260
2022-04-16 00:10:30 +09:00
waroad
42fcc5eb46
Update test_string.py
...
Location of errors have changed
Co-authored-by: Jeong YunWon <jeong@youknowone.org >
2022-04-16 00:00:31 +09:00
waroad
8bcd60bd1b
Update string.py from 3.8.3
...
update file to matching version
2022-04-16 00:00:31 +09:00
Jeong YunWon
8484a91ed3
Fix reflection operator priority for subtypes
2022-04-14 02:38:54 +09:00
Jeong YunWon
cf6a83e9d5
Merge pull request #3600 from hwi-ya/llliiisssttt
...
modify empty tuple (genericalias repr)
2022-04-10 15:11:41 +09:00
hwi-ya
c8d325c6fe
remove expected value
2022-04-10 14:15:12 +09:00
himmelmin
b0fa2d2b62
Add select.error ( #3599 )
2022-04-10 13:35:07 +09:00
jeon-yongjun
669d1ca38a
Add Reduce method in reverse_iter ( #3597 )
2022-04-10 13:32:34 +09:00
d1t2
3037508b0a
Fix test_dict.test_fromkeys()
...
Based on CPython implementation, dictobject.c, construct the new
object with type and call corresponding setitem method.
2022-03-30 09:22:24 +08:00
Jeong Yunwon
612ceecdc4
Fix test_decimal for current test support
2022-03-22 04:36:16 +09:00
Jeong Yunwon
18306e6953
unmark test_pickle::test_exceptions and test_xml_etree::test_pickle
2022-03-22 04:36:16 +09:00
Jeong Yunwon
a94cc1c7ca
update test_xml_etree.py from python 3.10.3
2022-03-22 04:36:16 +09:00
Jeong Yunwon
d09209b2a8
mark failing test skip
2022-03-22 02:22:40 +09:00
d1t2
e02a312f7e
Fix bool un/marshaling
...
Test: import marshal; assert marshal.loads(marshal.dumps(True)) == True
Test: import marshal; assert marshal.loads(marshal.dumps(False))== False
2022-03-13 21:13:33 +08:00
gilteunchoi
600e924c53
unmark expectedFauilure decorator
...
Signed-off-by: gilteunchoi <gilteunchoi@gmail.com >
2022-03-13 18:04:24 +09:00
d1t2
63b91a42c3
Fix wrong complex repr() for -0.0
...
Test: assert repr(complex('-0.0')) == '(-0+0j)'
2022-03-13 13:50:03 +08:00
Jeong YunWon
04ebaf6e2b
Merge pull request #3571 from youknowone/test-decorator
...
Update test_decorators.py
2022-03-13 11:29:36 +09:00
Jeong YunWon
e542711562
Merge pull request #3572 from youknowone/fix-int-trunc
...
Fix int trunc error format & update test_int.py
2022-03-13 11:29:12 +09:00
Jeong YunWon
5222563063
Update test_long.py from CPython 3.10.2
2022-03-13 04:32:01 +09:00
Jeong YunWon
64ef4916ec
Update test_int.py to CPython 3.10.2
2022-03-13 03:56:48 +09:00
Jeong YunWon
0e0cd5d145
Mark failing tests
2022-03-13 03:04:26 +09:00
Jeong YunWon
8ffae87a3f
Update test_decorators.py from CPython 3.10.2
2022-03-13 03:03:54 +09:00
hrchu
9e7636de40
Update test_uuid
...
Most cases are passed now since we've updated uuid.py to 3.9.
There is still one failing case since lack of os.fork().
2022-03-12 21:39:42 +08:00
Jeong YunWon
def4a2b91a
Merge pull request #3316 from qingshi163/sequence-protocol
...
Impl PySequence Protocol
2022-03-12 17:19:59 +09:00
Kangzhi Shi
d962fd9316
unmark passed test
2022-03-12 16:12:35 +09:00
Kangzhi Shi
10020a910c
mark fail tests
2022-03-12 16:12:12 +09:00
Kangzhi Shi
0c9235ce0a
impl sequence protocol for PyDeque
2022-03-12 16:12:12 +09:00
Noa
8330642f8d
Unmark test in test_augassign
2022-03-11 22:01:06 -06:00
Padraic Fanning
edbc17fb38
Skip flaky test
2022-02-25 19:33:53 -05:00
Padraic Fanning
ead652b112
Mark erroring test on Windows
2022-02-19 14:21:44 -05:00
Padraic Fanning
f603371f08
Mark erroring/failing tests
2022-02-18 22:10:23 -05:00
Padraic Fanning
a702ae69c7
Update test_codecs to CPython 3.10
2022-02-18 21:55:04 -05:00
Padraic Fanning
ad13373fdb
Update codecs.py to CPython 3.10
2022-02-18 21:36:24 -05:00
snowapril
3c64486431
Update test_complex.py to cpython 3.10
2022-02-18 17:46:10 +09:00
Jeong YunWon
866d06fefe
Merge pull request #3553 from fanninpm/test-support-threading-helper
...
Add CPython 3.10's test/support/threading_helper
2022-02-14 15:00:59 +09:00
Padraic Fanning
ef64376f55
Update test_textwrap to CPython 3.10
2022-02-13 19:07:02 -05:00
Padraic Fanning
44cd8db0a3
Update textwrap.py to CPython 3.10
2022-02-13 19:05:39 -05:00
Padraic Fanning
c8748bc98e
Fix test.support imports
2022-02-13 17:56:08 -05:00
Padraic Fanning
ef1048757e
Migrate threading functions and class to helper
2022-02-13 17:27:07 -05:00
Padraic Fanning
e41f43d3bd
Add CPython 3.10's test/support/threading_helper
2022-02-13 16:44:23 -05:00
Jeong YunWon
d20dbf937a
Merge pull request #3552 from fanninpm/statistics-3.10
...
Update statistics.py to CPython 3.10
2022-02-13 23:36:55 +09:00
Padraic Fanning
9b6155cf87
Unmark passing test
2022-02-12 23:51:47 -05:00
Padraic Fanning
0f1cdedf73
Update test_statistics.py to CPython 3.10
2022-02-12 23:31:00 -05:00
Padraic Fanning
78d543e776
Update statistics.py to CPython 3.10
2022-02-12 23:25:34 -05:00
Padraic Fanning
2bad1cf06c
Add nntplib.py from CPython 3.10
2022-02-12 20:49:36 -05:00
Padraic Fanning
75390dd787
Fix test.support imports
2022-02-12 20:48:57 -05:00