Commit Graph
2254 Commits
Author SHA1 Message Date
Jeong YunWon 2ba1d93550 Merge pull request #3686 from fanninpm/fcntl-flock-lockf
Add flock and lockf to fcntl module
2022-05-04 14:43:37 +09:00
hrchu 8f0e40f2b2 Fix test_long::test_huge_rshift 2022-05-04 07:35:44 +09:00
Padraic Fanning 188f82c009 Change reasons for expected failures in test_fcntl 2022-05-03 18:13:18 -04:00
Jeong YunWon 2c18207bee Merge pull request #3681 from youknowone/marshal
Update marshal tests
2022-05-04 00:53:10 +09:00
Jeong Yunwon 6ff41a24c2 mark failing tests 2022-05-03 23:58:42 +09:00
Jeong Yunwon 66afb64f79 Add Lib/test/test_marshal.py from CPython 3.10.4 2022-05-03 23:56:41 +09:00
Padraic Fanning 106e2047fd Mark erroring tests 2022-05-02 21:06:49 -04:00
Padraic Fanning ee2f4da2b8 Add test_fcntl.py from CPython 3.10 2022-05-02 20:54:08 -04:00
Padraic Fanning 498121bf1b Update test_time.py to CPython 3.10 2022-04-29 21:39:56 -04:00
Jeong YunWon 4c39668b71 Merge pull request #3665 from fanninpm/baseexception-reduce
Add BaseException.__reduce__
2022-04-30 01:16:30 +09:00
Padraic Fanning dfbd8dc8db Unmark passing tests 2022-04-27 22:56:24 -04:00
Padraic Fanning 2815f3d037 Unmark passing test 2022-04-27 20:40:06 -04:00
Padraic Fanning b70eb8989a Mark erroring tests 2022-04-27 19:11:02 -04:00
Padraic Fanning 1d2573173d Update test_sys.py to CPython 3.10 2022-04-27 18:58:17 -04:00
Padraic Fanning 3b22405ea8 Unmark passing tests 2022-04-27 18:58:17 -04:00
Padraic Fanning af50fa5512 Update _pyio.py to CPython 3.10 2022-04-27 18:58:16 -04:00
Padraic Fanning c8a8d324d1 Align io.py more squarely with CPython 3.10 2022-04-27 18:58:15 -04:00
Padraic Fanning 34f6d4559d Align os.py more squarely with CPython 3.10
This ties up some of the loose ends that were left behind in #3500.
2022-04-27 18:58:15 -04:00
Jeong YunWon 372ed7f737 Merge pull request #3664 from fanninpm/test-sys-settrace-3.10
Update test_sys_settrace.py to CPython 3.10
2022-04-27 14:41:18 +09:00
Padraic Fanning a30a251a5a Unmark passing test 2022-04-26 22:26:38 -04:00
Padraic Fanning af79bc6e9d Update test_sys_settrace.py to CPython 3.10 2022-04-26 22:11:58 -04:00
Padraic Fanning c7b24b9bd8 Skip tests that don't work in a clean workspace 2022-04-26 21:35:38 -04:00
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