25 Commits

Author SHA1 Message Date
Ankit Goel
7623668256 Raise TypeError if BaseException receives Keyword arguments 2024-09-24 11:57:37 +09:00
Jonathan Rotter
1034477f1e unit test fix - only allow catching exceptions - test_catch_non_BaseException (#5249)
* test_baseexception.test_catch_non_BaseException

* enabling test_except_star_invalid_exception_type
2024-04-21 01:30:20 +09:00
Andrey Maltsev
302149e02d Update test_exceptions.py from Cpython v3.11.2 2023-04-02 14:35:18 +00:00
Riley Sutton
83880893d5 Enable previously failing tests 2022-12-27 18:06:56 +11:00
Jeong YunWon
15aad7cb94 Fix with-statement location 2022-08-11 07:14:20 +09:00
Jeong YunWon
a363b05340 PySetterValue for descr_set and setattro 2022-08-08 04:31:14 +09:00
43824e393b Change Lib/test/test_exceptions.py runable 2022-07-13 16:47:31 +09:00
4030ad12d9 Update test_exceptions.py from CPython 3.10.5 2022-07-13 16:47:31 +09:00
Padraic Fanning
2815f3d037 Unmark passing test 2022-04-27 20:40:06 -04: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
Dean Li
6f98288e84 test: use import_helper 2021-11-29 21:03:02 +08:00
Dean Li
5ee4fb899b test: use os_helper 2021-11-28 20:51:32 +08:00
Jeong YunWon
913b78ca44 Revert "Merge pull request #3433 from deantvv/test-update"
This reverts commit 9fa5c5ac66, reversing
changes made to e7fa32c687.
2021-11-17 17:06:51 +09:00
Dean Li
49a5805d11 test: use os_helper 2021-11-13 02:18:33 +00:00
snowapril
1bff6a38d1 add decorators on failed tests
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-10-20 10:19:42 +09:00
snowapril
8d0cefeb64 update test_exceptions.py from cpython 3.10 for suggestion feature
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-10-20 10:19:42 +09:00
Noah
0ab451c519 Rework the vm exception stack to handle errors better 2021-02-15 17:44:48 -06:00
Noah
99a8d68933 Fix test_exceptions.testRaising 2020-12-19 15:09:20 -06:00
Jeong YunWon
2970af237a unskip test_exceptions.py 2020-11-12 11:30:33 +09:00
Basix
9868f63f50 Skip CPython-specific test on Windows
Check its comments for details
2020-08-10 02:36:29 +09:00
Basix
e5178574f0 Skip rescursion tests on Windows
See #2050
2020-08-10 02:36:29 +09:00
Aviv Palivoda
77b83ea4f8 Separate coro exception stack 2020-03-06 12:04:40 +02:00
Aviv Palivoda
83386fda25 Set errno on os.listdir 2020-03-06 10:46:29 +02:00
Aviv Palivoda
92d0f05242 Mark unsupported tests 2020-03-06 10:46:29 +02:00
Aviv Palivoda
78565d1ab0 Add test_exceptions from CPython 3.8 2020-03-06 10:46:29 +02:00