python (3.12.0)
͑e > d dl Zd dlZd dlZd dlmZ G d dej Z G d dej Z G d dej Z G d d
ej Z
d Z G d d
ej Z G d dej Z
G d de
Z G d de
Z G d dej Zd#dZ G d dej Zd Z G d de
Z G d de
Z G d de Z G d d!e Zed"k( r ej2 yy)$ N)C_RECURSION_LIMITc e Zd Zd Zd Zd Zy)TestExceptionGroupTypeHierarchyc | j t t t | j t t t | j t t t
y N)
assertTrue
issubclassExceptionGroup ExceptionBaseExceptionGroup
BaseExceptionselfs M/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/test/test_exception_group.pytest_exception_group_typesz:TestExceptionGroupTypeHierarchy.test_exception_group_types s=
>9=>
>3EFG
#5}EF c t | j t d 5 t t d d d y # 1 sw Y y xY w)Nr )assertRaisesRegex TypeErrorr OSErrorr s r "test_exception_is_not_generic_typezBTestExceptionGroupTypeHierarchy.test_exception_is_not_generic_type s/
#
#I{
; g s .7c t }| j t | t j | j t
| t j y r )r assertIsInstancer
typesGenericAliasr )r Es r $test_exception_group_is_generic_typezDTestExceptionGroupTypeHierarchy.test_exception_group_is_generic_type s>