mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
bpo-45292: [PEP 654] add the ExceptionGroup and BaseExceptionGroup classes (GH-28569)
This commit is contained in:
parent
4bc5473a42
commit
f30ad65dbf
16 changed files with 1366 additions and 4 deletions
|
|
@ -489,7 +489,9 @@ class CompatPickleTests(unittest.TestCase):
|
|||
ResourceWarning,
|
||||
StopAsyncIteration,
|
||||
RecursionError,
|
||||
EncodingWarning):
|
||||
EncodingWarning,
|
||||
BaseExceptionGroup,
|
||||
ExceptionGroup):
|
||||
continue
|
||||
if exc is not OSError and issubclass(exc, OSError):
|
||||
self.assertEqual(reverse_mapping('builtins', name),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue