Commit Graph
2232 Commits
Author SHA1 Message Date
Padraic Fanning aabb740529 Update bdb.py to CPython 3.10 2022-04-26 21:08:27 -04:00
Padraic Fanning 24bb2f8850 Add test_bdb.py from CPython 3.10 2022-04-26 21:07:06 -04:00
Moreal d6236dcdcc Unmark correct tests 2022-04-24 05:31:01 +09:00
Jeong YunWon d19a87fedd Merge pull request #3654 from fanninpm/test-faulthandler
Add test_faulthandler.py from CPython 3.10
2022-04-23 20:29:20 +09:00
Padraic Fanning 5266e93e2a Mark erroring tests on Windows 2022-04-22 22:45:55 -04:00
Padraic Fanning 62673fc10c Mark erroring/failing tests 2022-04-22 21:01:42 -04:00
Padraic Fanning 7ad1b56d2c Add test_faulthandler.py from CPython 3.10 2022-04-22 20:39:07 -04:00
Jeong Yunwon ca84d728c2 sys.unraisablehook 2022-04-23 08:06:17 +09:00
sum12 d74a1d58a6 added test for builtin.aiter 2022-04-21 09:49:17 +02:00
Padraic Fanning b8c9b383f0 Mark erroring tests 2022-04-20 21:33:19 -04:00
Padraic Fanning 15129a955b Comment out test with async for comprehension 2022-04-20 19:58:56 -04:00
Padraic Fanning 445ef1ee8e Update test_asyncgen.py to CPython 3.10 2022-04-20 19:48:42 -04:00
Jeong YunWon 047bab998b Merge pull request #2950 from fanninpm/contextvars
Add contextvars from CPython 3.8
2022-04-20 16:54:00 +09:00
Dean Li 25a6b2b7c4 test: update test_os.py to 3.10 2022-04-18 22:58:00 +08:00
Dean Li 5aff05c0af test: update test_urllib2.py to py3.10 2022-04-18 22:58:00 +08: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 b48cb1f50c hide test_subprocess.test_invalid_cmd 2022-04-18 21:38:32 +09:00
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
waroadandJeong YunWon 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