14 Commits

Author SHA1 Message Date
CPython Developers
f6d562e2ee Update test_baseexception from v3.14.2 2026-01-31 07:14:37 +09:00
Jeong YunWon
a288b77c4f BaseException.__setstate__ 2025-06-23 09:41:21 +09:00
Jeong YunWon
0a6e1e80d7 docs 2025-06-23 01:05:54 +09:00
Aneesh Durg
323ea3b96b Support incomplete parsing (#5764)
* continue accepting REPL input for multiline strings

* Match cpython behavior for all multi-line statements (execute when complete)

* Emit _IncompleteInputError when compiling with incomplete flag

* Refine when _IncompleteInputError is emitted

* Support multiline strings emitting _IncompleteInputError

* lint

* Undo accidental change to PyTabError

* match -> if let

* Fix test_baseexception and test_codeop

* fix spelling

* fix exception name

* Skip pickle test of _IncompleteInputError

* Use py3.15's codeop implementation

* Update Lib/test/test_baseexception.py

---------

Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>
2025-06-05 14:41:56 +09:00
Hanif Ariffin
974c54ede2 Updated test_baseexception from 3.13.2 (#5638)
Signed-off-by: Hanif Ariffin <hanif.ariffin.4326@gmail.com>
2025-04-19 11:08:50 +09:00
Jeong YunWon
e7fdfca5f5 Add python-implemented ExceptionGroup 2025-03-27 01:28:36 +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
LYK
9c10d4aa3f Mark failing tests of test_baseexception. 2023-03-05 03:21:18 +09:00
CPython Developers
a7b8768e56 Update test_baseexception.py from cpython 3.11.2 2023-03-05 03:19:40 +09:00
Ben Lewis
b83cd272b5 Fix test_inheritance test. 2020-08-30 10:03:10 +12:00
Jeong YunWon
7bb530dd89 Fix exception repr 2020-02-26 08:15:29 +00:00
Jeong YunWon
378a36c7e1 Add missing exceptions 2020-02-26 08:15:21 +00:00
Aviv Palivoda
d9e8c4b08d Mark unsupported tests 2020-02-14 09:02:12 +02:00
Aviv Palivoda
b967068d81 Add test_baseexception from CPython 3.8 2020-02-14 09:01:59 +02:00