+
    Bik                     d   ^ RI t^ RIt^ RIt^ RIHtHtHt  ! R R]P                  4      t	 ! R R]P                  4      t
 ! R R]P                  4      t ! R	 R
]P                  4      tR t ! R R]P                  4      t ! R R]P                  4      t ! R R4      t ! R R]4      t ! R R]4      t ! R R]P                  4      tR%R lt ! R R]P                  4      tR t ! R R]4      t ! R R]4      t ! R  R!]4      t ! R" R#]4      t]R$8X  d   ]P8                  ! 4        R# R# )&    N)skip_emscripten_stack_overflowskip_wasi_stack_overflowexceeds_recursion_limitc                   2   a  ] tR t^t o R tR tR tRtV tR# )TestExceptionGroupTypeHierarchyc                    V P                  \        \        4       V P                  \        \        4       V P                  \        \        4       R # N)assertIsSubclassExceptionGroup	ExceptionBaseExceptionGroupBaseExceptionselfs   &0/usr/lib/python3.14/test/test_exception_group.pytest_exception_group_types:TestExceptionGroupTypeHierarchy.test_exception_group_types   s4    ni8n.@A0-@    c                    V P                  \        R 4      ;_uu_ 4        \        \        ,           RRR4       R#   + '       g   i     R# ; i)r   N)assertRaisesRegex	TypeErrorr   OSErrorr   s   &r   "test_exception_is_not_generic_typeBTestExceptionGroupTypeHierarchy.test_exception_is_not_generic_type   s,    ##I{;;g <;;;s	   ;A	c                    \         pV P                  \        V,          \        P                  4       V P                  \
        V,          \        P                  4       R # r	   )r   assertIsInstancer   typesGenericAliasr   )r   Es   & r   $test_exception_group_is_generic_typeDTestExceptionGroupTypeHierarchy.test_exception_group_is_generic_type   s>    nQ/1C1CD03U5G5GHr    N)	__name__
__module____qualname____firstlineno__r   r   r    __static_attributes____classdictcell____classdict__s   @r   r   r      s     A
I Ir   r   c                   8   a  ] tR t^t o R tR tR tR tRtV t	R# )BadConstructorArgsc           	        R pV P                  \        V4      ;_uu_ 4        \        R4       RRR4       V P                  \        V4      ;_uu_ 4        \        \        R4      .4       RRR4       V P                  \        V4      ;_uu_ 4        \        R\        R4      .\        R4      .4       RRR4       R#   + '       g   i     L; i  + '       g   i     Lm; i  + '       g   i     R# ; i)z8BaseExceptionGroup.__new__\(\) takes exactly 2 argumentsz	no errorsNzno msgegtoomanyr   r   r   
ValueErrorr   MSGs   & r   'test_bad_EG_construction__too_many_args:BadConstructorArgs.test_bad_EG_construction__too_many_args   s    I##Is33;' 4##Is33Jx012 4##Is334*U"3!4y7H6IJ 43	 4333333s#   B;C"C!;C	C	!C2	c                \   R pV P                  \        V4      ;_uu_ 4        \        \        ^4      \	        R4      4       RRR4       V P                  \        V4      ;_uu_ 4        \        R\        ^4      .4       RRR4       R#   + '       g   i     LO; i  + '       g   i     R# ; i)zargument 1 must be str, not z
bad syntaxN)r   r   r   r2   SyntaxErrorr3   s   & r   %test_bad_EG_construction__bad_message8BadConstructorArgs.test_bad_EG_construction__bad_message    sq    ,##Is33:b>;|+DE 4##Is334*R.!12 43 43333s   B&BB	B+	c                   R pV P                  \        V4      ;_uu_ 4        \        R\        ^*4      04       RRR4       V P                  \        V4      ;_uu_ 4        \        RR4       RRR4       RpV P                  \        V4      ;_uu_ 4        \        R. 4       RRR4       R#   + '       g   i     Lz; i  + '       g   i     LZ; i  + '       g   i     R# ; i)z1second argument \(exceptions\) must be a sequencezerrors not sequenceNr.   z;second argument \(exceptions\) must be a non-empty sequencer1   r3   s   & r   +test_bad_EG_construction__bad_excs_sequence>BadConstructorArgs.test_bad_EG_construction__bad_excs_sequence'   s    B##Is330:b>2BC 4##Is334& 4 M##J444$ 54 4333 544s#   B*B=C*B:	=C	C!	c                0   R pV P                  \        V4      ;_uu_ 4        \        R\        .4       RRR4       V P                  \        V4      ;_uu_ 4        \        RR.4       RRR4       R#   + '       g   i     LF; i  + '       g   i     R# ; i)zAItem [0-9]+ of second argument \(exceptions\) is not an exceptionzexpect instance, not typeNz	bad errorznot an exception)r   r2   r   r   r3   s   & r   /test_bad_EG_construction__nested_non_exceptionsBBadConstructorArgs.test_bad_EG_construction__nested_non_exceptions2   sj    %##J446	B 5##J44;);(<= 54 54444s   A1B1B	B	r"   N)
r#   r$   r%   r&   r5   r9   r<   r?   r'   r(   r)   s   @r   r,   r,      s     K3	%> >r   r,   c                   \   a  ] tR t^;t o R tR tR tR tR tR t	R t
R tR	 tR
 tRtV tR# )InstanceCreationc                    \        ^4      \        ^4      .pV P                  \        \	        RV4      4      \        4       R# )   r.   N)r2   r   assertIstyper   r   excss   & r   $test_EG_wraps_Exceptions__creates_EG5InstanceCreation.test_EG_wraps_Exceptions__creates_EG<   s2    1y|,d+,	r   c                    \        ^4      \        ^4      .pV P                  \        \	        RV4      4      \
        4       R# )rD   begN)r2   r   rE   rF   r   r   rG   s   & r   %test_BEG_wraps_Exceptions__creates_EG6InstanceCreation.test_BEG_wraps_Exceptions__creates_EGB   s3    1y|,#E401	r   c           	         R pV P                  \        V4      ;_uu_ 4        \        R\        ^4      \	        ^4      .4      pRRR4       R#   + '       g   i     R# ; i)z/Cannot nest BaseExceptions in an ExceptionGroupr.   N)r   r   r   r2   KeyboardInterrupt)r   r4   r.   s   &  r   -test_EG_wraps_BaseException__raises_TypeError>InstanceCreation.test_EG_wraps_BaseException__raises_TypeErrorH   sD    >##Is33z!}6G6J&KLB 4333s   !AA	c                    \        R \        ^4      \        ^4      .4      pV P                  \	        V4      \         4       R# )rL   N)r   r2   rP   rE   rF   )r   rL   s   & r   )test_BEG_wraps_BaseException__creates_BEG:InstanceCreation.test_BEG_wraps_BaseException__creates_BEGM   s0     A8I!8L(MNd3i!34r   c                     ! R  R\         4      pV P                  \        V! R\        ^4      \	        ^*4      .4      4      V4       R# )c                       ] tR t^RtRtR# )IInstanceCreation.test_EG_subclass_wraps_non_base_exceptions.<locals>.MyEGr"   Nr#   r$   r%   r&   r'   r"   r   r   MyEGrX   R       r   rZ   r.   N)r   rE   rF   r2   r   r   rZ   s   & r   *test_EG_subclass_wraps_non_base_exceptions;InstanceCreation.test_EG_subclass_wraps_non_base_exceptionsQ   s;    	> 	 	dZ^Yr];<=	r   c           	          ! R  R\         4      pRpV P                  \        V4      ;_uu_ 4        V! R\        ^4      \	        ^*4      .4       RRR4       R#   + '       g   i     R# ; i)c                       ] tR t^ZtRtR# )MInstanceCreation.test_EG_subclass_does_not_wrap_base_exceptions.<locals>.MyEGr"   NrY   r"   r   r   rZ   ra   Z   r[   r   rZ   $Cannot nest BaseExceptions in 'MyEG'r.   N)r   r   r   r2   rP   r   rZ   msgs   &  r   .test_EG_subclass_does_not_wrap_base_exceptions?InstanceCreation.test_EG_subclass_does_not_wrap_base_exceptionsY   sP    	> 	 5##Is33
2(9"(=>? 4333s   AA)	c           	          ! R  R\         \        4      pRpV P                  \        V4      ;_uu_ 4        V! R\        ^4      \	        ^*4      .4       RRR4       R#   + '       g   i     R# ; i)c                       ] tR t^btRtR# )TInstanceCreation.test_BEG_and_E_subclass_does_not_wrap_base_exceptions.<locals>.MyEGr"   NrY   r"   r   r   rZ   ri   b   r[   r   rZ   rb   r.   N)r   r2   r   r   rP   rc   s   &  r   5test_BEG_and_E_subclass_does_not_wrap_base_exceptionsFInstanceCreation.test_BEG_and_E_subclass_does_not_wrap_base_exceptionsa   sS    	%z 	 5##Is33
2(9"(=>? 4333s   AA.	c                f     ! R  R\         \        4      pV! R\        ^4      \        4       .4       R# )c                       ] tR t^jtRtR# )[InstanceCreation.test_EG_and_specific_subclass_can_wrap_any_nonbase_exception.<locals>.MyEGr"   NrY   r"   r   r   rZ   rn   j   r[   r   rZ   r.   N)r   r2   r   r\   s   & r   <test_EG_and_specific_subclass_can_wrap_any_nonbase_exceptionMInstanceCreation.test_EG_and_specific_subclass_can_wrap_any_nonbase_exceptioni   s'    	>: 	 	TJrNIK01r   c                f     ! R  R\         \        4      pV! R\        ^4      \        4       .4       R# )c                       ] tR t^qtRtR# )\InstanceCreation.test_BEG_and_specific_subclass_can_wrap_any_nonbase_exception.<locals>.MyEGr"   NrY   r"   r   r   rZ   rs   q   r[   r   rZ   r.   N)r   r2   r   r\   s   & r   =test_BEG_and_specific_subclass_can_wrap_any_nonbase_exceptionNInstanceCreation.test_BEG_and_specific_subclass_can_wrap_any_nonbase_exceptionp   s(    	%z 	 	TJrNIK01r   c                     ! R  R\         4      pV P                  \        V! R\        ^4      \	        ^*4      .4      4      V4       V P                  \        V! R\        ^4      \        ^*4      .4      4      V4       R# )c                       ] tR t^ytRtR# )@InstanceCreation.test_BEG_subclass_wraps_anything.<locals>.MyBEGr"   NrY   r"   r   r   MyBEGrx   y   r[   r   ry   r.   N)r   rE   rF   r2   r   rP   )r   ry   s   & r    test_BEG_subclass_wraps_anything1InstanceCreation.test_BEG_subclass_wraps_anythingx   sk    	& 	 	tjnim<=>	 	tjn.?.CDEF	r   r"   N)r#   r$   r%   r&   rI   rM   rQ   rT   r]   re   rj   ro   rt   rz   r'   r(   r)   s   @r   rB   rB   ;   s?     M
5@@22	 	r   rB   c                   2   a  ] tR t^t o R tR tR tRtV tR# )StrAndReprTestsc           	     b   \        R \        ^4      \        ^4      .4      pV P                  \	        V4      R4       V P                  \        V4      R4       \        RV\        ^4      V\        ^4      .4      pV P                  \	        V4      R4       V P                  \        V4      R4       R# )flatflat (2 sub-exceptions)z5ExceptionGroup('flat', [ValueError(1), TypeError(2)])nestednested (4 sub-exceptions)zExceptionGroup('nested', [ExceptionGroup('flat', [ValueError(1), TypeError(2)]), ValueError(1), ExceptionGroup('flat', [ValueError(1), TypeError(2)]), TypeError(2)])N)r   r2   r   assertEqualstrreprr   r.   s   & r   test_ExceptionGroup#StrAndReprTests.test_ExceptionGroup   s    Z]IaL13 	R";<bC	E  r:a="il;= 	R"=>bE	Fr   c                N   \        R \        ^4      \        ^4      .4      pV P                  \	        V4      R4       V P                  \        V4      R4       \        RV\        ^4      V.4      pV P                  \	        V4      R4       V P                  \        V4      R4       R# )r   r   zABaseExceptionGroup('flat', [ValueError(1), KeyboardInterrupt(2)])r   znested (3 sub-exceptions)zBaseExceptionGroup('nested', [BaseExceptionGroup('flat', [ValueError(1), KeyboardInterrupt(2)]), ValueError(1), BaseExceptionGroup('flat', [ValueError(1), KeyboardInterrupt(2)])])N)r   r2   rP   r   r   r   r   s   & r   test_BaseExceptionGroup'StrAndReprTests.test_BaseExceptionGroup   s    Z]$5a$89; 	R";<b9	:
  r:a="-/ 	R"=>b?	@r   c           	     t    ! R  R\         4      pV! R\        ^4      \        ^4      .4      pV P                  \	        V4      R4       V P                  \        V4      R4       V! RV\        ^4      V\        ^4      .4      pV P                  \	        V4      R4       V P                  \        V4      R4       R# )	c                       ] tR t^tRtR# )3StrAndReprTests.test_custom_exception.<locals>.MyEGr"   NrY   r"   r   r   rZ   r      r[   r   rZ   r   r   z+MyEG('flat', [ValueError(1), TypeError(2)])r   r   zMyEG('nested', [MyEG('flat', [ValueError(1), TypeError(2)]), ValueError(1), MyEG('flat', [ValueError(1), TypeError(2)]), TypeError(2)])N)r   r2   r   r   r   r   )r   rZ   r.   s   &  r   test_custom_exception%StrAndReprTests.test_custom_exception   s    	> 	 Z]IaL13 	R";<b#PQr:a="il;= 	R"=>b'	)r   r"   N)	r#   r$   r%   r&   r   r   r   r'   r(   r)   s   @r   r}   r}      s     F(@,) )r   r}   c                  V   . p   \        R 4      h  \          d   p\        ^4      ThRp?ii ; i  \         d   pT P                  T4        Rp?MRp?ii ; i  \        R4      h  \         d   p\	        \
        4      hRp?ii ; i  \         d   pT P                  T4        Rp?MRp?ii ; i  \        R4      h  \         d   p\        ^4      hRp?ii ; i  \         d   pT P                  T4        Rp?MRp?ii ; i \        RT 4      h  \         d   pTu Rp?# Rp?ii ; i)z#context and cause for ValueError(1)Nzcontext for TypeErrorzcontext for ValueError(2)	simple eg)MemoryErrorr2   appendr   r   intImportErrorr   )rH   es     r   create_simple_egr      s   D	'CDD 	'Q-Q&	' A	!122 	!C. 	! A	 9:: 	 Q-	  A[$// s    ,',/ AAAA% %B0A??BB B-B((B-2B= =CCCC D&C<<DD D(D#D(#D(c                   ,   a  ] tR t^t o R tR tRtV tR# )ExceptionGroupFieldsc                   \        4       pV P                  VP                  R 4       V P                  VP                  ^ ,          R 4       V P	                  VP
                  ^ ,          \        4       V P	                  VP
                  ^ ,          P                  \        4       V P	                  VP
                  ^ ,          P                  \        4       V P	                  VP
                  ^,          \        4       V P                  VP
                  ^,          P                  4       V P	                  VP
                  ^,          P                  \        4       V P	                  VP
                  ^,          \        4       V P                  VP
                  ^,          P                  4       V P	                  VP
                  ^,          P                  \        4       \         P                  P                  pV^,           V^,           V^,           V^,           ..pV P                  VP                   P"                  V^ ,          4       V P                  VP                   P$                  4       \'        ^4       Fe  pVP
                  V,          P                   pV P                  VP$                  4       V P                  VP"                  V^,          V,          4       Kg  	  R# )r   N)r   r   messageargsr   
exceptionsr2   	__cause__r   __context__r   assertIsNoner   r   __code__co_firstlineno__traceback__	tb_linenotb_nextrange)r   r.   line0
tb_linenositbs   &     r   !test_basics_ExceptionGroup_fields6ExceptionGroupFields.test_basics_ExceptionGroup_fields   s    	[1[1 	bmmA.
;bmmA.88+FbmmA.::KHbmmA.	:"--*445bmmA.::GDbmmA.
;"--*445bmmA.::KH !))88bjqy%"*ebj9;
))33Z]C"**223qAq!//Bbjj)R\\:a=+;< r   c                   \        R \        ^4      \        ^4      .4      pV P                  \	        VP
                  4      \        4       VP                   V P                  \        4      ;_uu_ 4        RVn        RRR4       VP
                   V P                  \        4      ;_uu_ 4        \        R4      .Vn        RRR4       R#   + '       g   i     LU; i  + '       g   i     R# ; i)r.   znew msgNxyz)
r   r   r   r   rF   r   tupler   assertRaisesAttributeErrorr   s   & r   test_fields_are_readonly-ExceptionGroupFields.test_fields_are_readonly  s    D9Q<"<=bmm,e4


~.."BJ / 	~..$U^,BM /.	 /. /..s   3C,CC	C,	r"   N)r#   r$   r%   r&   r   r   r'   r(   r)   s   @r   r   r      s     =:- -r   r   c                   &   a  ] tR tRt o R tRtV tR# )ExceptionGroupTestBasei  c                H   Ve   V P                  \        V4      V4       \        V\        4      '       d   V P	                  V\
        P                  P                  4       V P                  \        VP                  4      \        V4      4       \        VP                  V4       F  w  rEV P                  VR V4       K  	  R # V P	                  V\        4       V P                  \        V4      \        V4      4       V P                  VP                  VP                  4       R # r	   )rE   rF   
isinstancer   r   collectionsabcSequencer   lenr   zipassertMatchesTemplater   r   )r   excexc_typetemplater   ts   &&&&  r   r   ,ExceptionGroupTestBase.assertMatchesTemplate  s     MM$s)X.c-..!!(KOO,D,DES0#h-@CNNH5**1dA6 6 !!(M:T#YX7SXXx}}5r   r"   N)r#   r$   r%   r&   r   r'   r(   r)   s   @r   r   r     s     6 6r   r   c                   2   a  ] tR tRt o R tR tR tRtV tR# )	Predicatei)  c                    Wn         R # r	   func)r   r   s   &&r   __init__Predicate.__init__*  s    	r   c                $    V P                  V4      # r	   r   r   r   s   &&r   __call__Predicate.__call__-      yy|r   c                $    V P                  V4      # r	   r   r   s   &&r   methodPredicate.method0  r   r   r   N)	r#   r$   r%   r&   r   r   r   r'   r(   r)   s   @r   r   r   )  s      r   r   c                   P   a  ] tR tRt o R tR tR tR tR tR t	R t
R	 tR
tV tR# )ExceptionGroupSubgroupTestsi3  c                v    \        4       V n        \        ^4      \        \        4      \        ^4      .V n        R# rD   Nr   r.   r2   r   r   eg_templater   s   &r   setUp!ExceptionGroupSubgroupTests.setUp4  '    "$&qM9S>:a=Ir   c                    ! R  R4      pRV\        R4      \         \        .\         ^*3.pV F  pV P                  \        4      ;_uu_ 4        V P                  P	                  V4       RRR4       V P                  \        4      ;_uu_ 4        V P                  P                  V4       RRR4       K  	  R#   + '       g   i     LW; i  + '       g   i     K  ; i)c                       ] tR tRtRtR# )OExceptionGroupSubgroupTests.test_basics_subgroup_split__bad_arg_type.<locals>.Ci9  r"   NrY   r"   r   r   Cr   9  r[   r   r   zbad argzinstance not typeN)r   r   r   r.   subgroupsplit)r   r   bad_argsargs   &   r   (test_basics_subgroup_split__bad_arg_typeDExceptionGroupSubgroupTests.test_basics_subgroup_split__bad_arg_type8  s    	 	 /0i(bM	 C""9--  % .""9--c" .- -----s   B8C8CCc                >   V P                   pV P                  WP                  \        4      4       V P                  WP                  \        4      4       V P                  WP                  \
        4      4       V P                  WP                  \        4      4       R # r	   )r.   rE   r   r   r   r   r   r   s   & r   )test_basics_subgroup_by_type__passthroughEExceptionGroupSubgroupTests.test_basics_subgroup_by_type__passthroughH  s`    WWb++m45b++i01b++&89:b++n56r   c                b    V P                  V P                  P                  \        4      4       R # r	   )r   r.   r   r   r   s   &r   &test_basics_subgroup_by_type__no_matchBExceptionGroupSubgroupTests.test_basics_subgroup_by_type__no_matchO  s    $''**734r   c                   V P                   p\        \        ^4      \        ^4      .3\        \        \        4      .3\        \        3V P                  3.pV Fv  w  r4V P                  VR7      ;_uu_ 4        VP                  V4      pV P                  VP                  VP                  4       V P                  V\        V4       RRR4       Kx  	  R#   + '       g   i     K  ; i)rD   )matchN)r.   r2   r   r   r   subTestr   r   r   r   r   )r   r.   	testcases
match_typer   subegs   &     r   #test_basics_subgroup_by_type__match?ExceptionGroupSubgroupTests.test_basics_subgroup_by_type__matchR  s    WW *Q-A783())$d&6&67	9	 %. JJ//J/  

;**5.(K 0/ %.///s   7ACC%c                    R  pV\        V4      \        V4      P                  3 F8  pV P                  V P                  V P                  P	                  V4      4       K:  	  R# )c                     R # Tr"   r   s   &r   <lambda>\ExceptionGroupSubgroupTests.test_basics_subgroup_by_predicate__passthrough.<locals>.<lambda>a      dr   N)r   r   rE   r.   r   r   fcallables   &  r   .test_basics_subgroup_by_predicate__passthroughJExceptionGroupSubgroupTests.test_basics_subgroup_by_predicate__passthrough`  sG    IaL)A,*=*=>HMM$''477#3#3H#=> ?r   c                    R  pV\        V4      \        V4      P                  3 F-  pV P                  V P                  P	                  V4      4       K/  	  R# )c                     R # Fr"   r   s   &r   r   YExceptionGroupSubgroupTests.test_basics_subgroup_by_predicate__no_match.<locals>.<lambda>f      er   N)r   r   r   r.   r   r   s   &  r   +test_basics_subgroup_by_predicate__no_matchGExceptionGroupSubgroupTests.test_basics_subgroup_by_predicate__no_matche  sC    IaL)A,*=*=>Hdgg..x89 ?r   c           	     0  a V P                   p\        \        ^4      \        ^4      .3\        \        \        4      .3\        \        3V P                  3.pV F  w  opV3R lpV\        V4      \        V4      P                  3 Ft  pV P                  VR7      ;_uu_ 4        VP                  V4      pV P                  VP                  VP                  4       V P                  V\        V4       RRR4       Kv  	  K  	  R#   + '       g   i     K  ; i)rD   c                    < \        V S4      # r	   r   r   r   s   &r   r   VExceptionGroupSubgroupTests.test_basics_subgroup_by_predicate__match.<locals>.<lambda>s      *Q
3r   )r   N)r.   r2   r   r   r   r   r   r   r   r   r   r   r   )r   r.   r   r   r   r   r   r   s   &      @r   (test_basics_subgroup_by_predicate__matchDExceptionGroupSubgroupTests.test_basics_subgroup_by_predicate__matchj  s    WW *Q-A783())$d&6&67	9	 %. J3A	!il.A.AB\\8\44KKNE$$U]]BJJ?..unhO 54 C %. 544s   #AD	Dr.   r   N)r#   r$   r%   r&   r   r   r   r   r   r   r  r  r'   r(   r)   s   @r   r   r   3  s6     J# 75L?
:
P Pr   r   c                   J   a  ] tR tRt o R tR tR tR tR tR t	R t
R	tV tR
# )ExceptionGroupSplitTestsi{  c                v    \        4       V n        \        ^4      \        \        4      \        ^4      .V n        R# r   r   r   s   &r   r   ExceptionGroupSplitTests.setUp|  r   r   c                    \         \        \        \        3 FR  pV P                  P                  V4      w  r#V P                  V\        V P                  4       V P                  V4       KT  	  R # r	   )	r   r   r   r   r.   r   r   r   r   )r   r   r   rests   &   r   &test_basics_split_by_type__passthrough?ExceptionGroupSplitTests.test_basics_split_by_type__passthrough  sU    $n6A''--*KE&&~t'7'79d#6r   c                    V P                   P                  \        4      w  rV P                  V4       V P	                  V\
        V P                  4       R # r	   )r.   r   r   r   r   r   r   )r   r   r  s   &  r   #test_basics_split_by_type__no_match<ExceptionGroupSplitTests.test_basics_split_by_type__no_match  s?    ggmmG,% "".$"2"2	4r   c                n   V P                   p\        p\        pW"! ^4      V! ^4      .V! \        4      .3W3! \        4      .V! ^4      V! ^4      .3W#3V P                  R3\
        V3V! ^4      V! ^4      .V! \        4      .3.pV F  w  rVpVP                  V4      w  rV P                  VP                  VP                  4       V P                  V\        V4       Ve@   V P                  V	P                  VP                  4       V P                  V	\        V4       K  V P                  V	4       K  	  R# r   )r.   r2   r   r   r   r   r   r   r   r   r   r   )
r   r.   VETEr   r   match_templaterest_templater   r  s
   &         r    test_basics_split_by_type__match9ExceptionGroupSplitTests.test_basics_split_by_type__match  s   WW "Q%A"S'+"S'RUBqEN+Xt''.r]RUBqENRWI6
	 :C5J((:.KEU]]BJJ7&&~~7(  rzz:**.-9 !!$' :Cr   c                    R  pV\        V4      \        V4      P                  3 FR  pV P                  P                  V4      w  r4V P	                  V\
        V P                  4       V P                  V4       KT  	  R# )c                     R # r   r"   r   s   &r   r   VExceptionGroupSplitTests.test_basics_split_by_predicate__passthrough.<locals>.<lambda>  r   r   N)r   r   r.   r   r   r   r   r   r   r   r   r   r  s   &    r   +test_basics_split_by_predicate__passthroughDExceptionGroupSplitTests.test_basics_split_by_predicate__passthrough  s`    IaL)A,*=*=>H''--1KE&&und>N>NOd# ?r   c                    R  pV\        V4      \        V4      P                  3 FR  pV P                  P                  V4      w  r4V P	                  V4       V P                  V\        V P                  4       KT  	  R# )c                     R # r  r"   r   s   &r   r   SExceptionGroupSplitTests.test_basics_split_by_predicate__no_match.<locals>.<lambda>  r  r   N)r   r   r.   r   r   r   r   r   r%  s   &    r   (test_basics_split_by_predicate__no_matchAExceptionGroupSplitTests.test_basics_split_by_predicate__no_match  s`    IaL)A,*=*=>H''--1KEe$&&t^T=M=MN ?r   c                d  a V P                   p\        p\        pW"! ^4      V! ^4      .V! \        4      .3W3! \        4      .V! ^4      V! ^4      .3W#3V P                  R3.pV F  w  orVV3R lpV\        V4      \        V4      P                  3 F  pVP                  V4      w  rV P                  V	P                  VP                  4       V P                  V	\        V4       Vf   KY  V P                  V
P                  VP                  4       V P                  V
\        V4       K  	  K  	  R# )rD   Nc                    < \        V S4      # r	   r	  r
  s   &r   r   PExceptionGroupSplitTests.test_basics_split_by_predicate__match.<locals>.<lambda>  r  r   )r.   r2   r   r   r   r   r   r   r   r   r   r   )r   r.   r  r  r   r  r  r   r   r   r  r   s   &          @r   %test_basics_split_by_predicate__match>ExceptionGroupSplitTests.test_basics_split_by_predicate__match  s   WW "Q%A"S'+"S'RUBqEN+Xt''.	
	 :C5J3A	!il.A.AB hhx0  

;**>>; ,$$T\\2::>..nm= C :Cr   r  N)r#   r$   r%   r&   r   r  r  r   r&  r+  r0  r'   r(   r)   s   @r   r  r  {  s/     J$4(0$O= =r   r  c                      a  ] tR tRt o R t]! 4       ]! 4       R 4       4       t]! 4       ]! 4       R 4       4       tRt	V t
R# )DeepRecursionInSplitAndSubgroupi  c                j    \        ^4      p\        \        4       4       F  p\        RV.4      pK  	  V# )rD   r.   )r   r   r   r   )r   r   r   s   &  r   make_deep_eg,DeepRecursionInSplitAndSubgroup.make_deep_eg  s1    aL.01AtaS)A 2r   c                    V P                  4       pV P                  \        4      ;_uu_ 4        VP                  \        4       R R R 4       R #   + '       g   i     R # ; ir	   )r5  r   RecursionErrorr   r   r   s   & r   test_deep_split/DeepRecursionInSplitAndSubgroup.test_deep_split  s>     ~..GGI /...   AA	c                    V P                  4       pV P                  \        4      ;_uu_ 4        VP                  \        4       R R R 4       R #   + '       g   i     R # ; ir	   )r5  r   r8  r   r   r   s   & r   test_deep_subgroup2DeepRecursionInSplitAndSubgroup.test_deep_subgroup  s>     ~..JJy! /...r;  r"   N)r#   r$   r%   r&   r5  r   r   r9  r=  r'   r(   r)   s   @r   r3  r3    sN      $%   &
 $%"   &"r   r3  c              #      "   Vf   . pVP                  V P                  4       \        V \        4      '       d(   V P                   F  p\        W!4       R j  xL
  K  	  MW3x  VP                  4        R #  L 5ir	   )r   r   r   r   r   leaf_generatorpop)r   tbsr   s   && r   r@  r@    sb     
{JJs  !#)**A%a---   hGGI .s   AA:A8!A:c                   &   a  ] tR tRt o R tRtV tR# )LeafGeneratorTesti  c                   \        4       pT P                  \        V4       UUu. uF  w  r#VNK	  	  uppVP                  4       \        V4       F,  w  r$V P                  WAP                  VP                  .4       K.  	  R # u uppi r	   )r   assertSequenceEqualr@  r   r   )r   r.   r   _rB  s   &    r   test_leaf_generator%LeafGeneratorTest.test_leaf_generator  sr      )"-.-41Q-.MM	 %R(FA$$&&8: ) /s   B
r"   N)r#   r$   r%   r&   rH  r'   r(   r)   s   @r   rD  rD    s     
	: 	:r   rD  c                     . p   \        \        4      h  \          d   p\        R T.4      hRp?ii ; i  \         d   pT P                  T4        Rp?MRp?ii ; i  \	        R4      h  \         d   p\        ^4      ThRp?ii ; i  \
         d   pT P                  T4        Rp?MRp?ii ; i \        RT 4      h  \         d   pTu Rp?# Rp?ii ; i)r   Nzout of memoryroot)r   bytesr   r   r   r2   )rH   r   r.   s      r   create_nested_egrM    s    D	0E"" 	0 A3//	0 A	'o.. 	'Q-Q&	' AVT** 	sr    1,14 AAAA* *B5BBB	 	B/B**B/3B? ?C
CCCc                   8   a  ] tR tRt o R tR tR tR tRtV t	R# )NestedExceptionGroupBasicsTesti  c                z    \        4       pV P                  V\        \        \        4      .\        ^4      .4       R# r   )rM  r   r   r   rL  r2   r   s   & r   "test_nested_group_matches_templateANestedExceptionGroupBasicsTest.test_nested_group_matches_template  s2    ""A/	1r   c                @   \        4       pV P                  VP                  ^,          P                  \        4       V P                  VP                  ^,          P
                  \        4       V P                  VP                  ^ ,          P                  \        4       R# r   )rM  r   r   r   r   r   r   r   s   & r   test_nested_group_chaining9NestedExceptionGroupBasicsTest.test_nested_group_chaining"  sg    bmmA.::KHbmmA.88+FbmmA.::IFr   c                   \        4       p\         P                  P                  pVP                  V^,           3VP                  ^ ,          P                  V^,           3VP                  ^,          P                  V^,           3VP                  ^ ,          P                  ^ ,          P                  V^,           33 F<  w  r4V P                  VP                  V4       V P                  VP                  4       K>  	  R# )   N)	rM  r   r   r   r   r   r   r   r   )r   r.   r   r   expecteds   &    r   &test_nested_exception_group_tracebacksENestedExceptionGroupBasicsTest.test_nested_exception_group_tracebacks(  s     ))88urz*]]1++UQY7]]1++URZ8]]1((+99519E	
NR R\\84bjj)
r   c           	        \        4       pV P                  \        \        \	        V4      4      4      ^4       \         P
                  P                  pV^,           V^,           V^,           .V^,           V^,           ..p\        \	        V4      4       F9  w  pw  rVT P                  V Uu. uF  qwP                  NK  	  upW4,          4       K;  	  R# u upi )   N)
rM  r   r   listr@  r   r   	enumeraterF  r   )r   r.   r   expected_tbsr   rG  rB  r   s   &       r   test_iteration_full_tracebacks=NestedExceptionGroupBasicsTest.test_iteration_full_tracebacks5  s     	T."456: ))88"*eai;"*ebj13 '~b'9:MQ$$(+,",! ;,s   )C
r"   N)
r#   r$   r%   r&   rQ  rT  rY  r`  r'   r(   r)   s   @r   rO  rO    s     1G*! !r   rO  c                   &   a  ] tR tRt o R tRtV tR# )ExceptionGroupSplitTestBaseiE  c                \   V P                  V\        4       VP                  V4      w  r4VP                  V4      pVe   V P                  V\        4       \	        V4       F  w  rgV P                  Wb4       K  	  V P                  V4       V P                  V\        4       \	        V4       F  w  rgV P                  Wb4       K  	  Ve   V P                  V\        4       R pV P                  V! V4      V! V4      4       V! V4      p	V! V4      p
V P                  \        V! V4      4      \        V! V4      4      \        V! V4      4      ,           4       V! V4       F-  pT P                  T;'       d    Wi9   T;'       d    Wj9   4       K/  	  W4V3 F  pVf   K	  V P                  VP                  VP                  4       V P                  VP                  VP                  4       V P                  VP                  VP                  4       V P                  VP                  VP                  4       V P                  \        VRR 4      \        VRR 4      4       K  	  R pR pW4V3 F<  pV! V4       F-  pV P                  V! V! Wa4      4      V! V! Wk4      4      4       K/  	  K>  	  W43# )Nc                 X    V f   . # \        V 4       UUu. uF  w  rVNK	  	  upp# u uppi r	   r@  )r   r   rG  s   &  r   leavesAExceptionGroupSplitTestBase.split_exception_group.<locals>.leaves[  s,    2Ls8K*L8K18K*LL*Ls   &	__notes__c                 @    \        V4       F  w  r#W J g   K  Vu # 	  R # r	   rf  )leafr.   r   rB  s   &&  r   tbs_for_leafGExceptionGroupSplitTestBase.split_exception_group.<locals>.tbs_for_leafx  s    (,9J -r   c                 V    V  Uu. uF  q'       g   K  VP                   NK  	  up# u upi r	   )r   )rB  r   s   & r   r   EExceptionGroupSplitTestBase.split_exception_group.<locals>.tb_linenos}  s"    +.53R"LBLL3555s   	&&)r   r   r   r   r@  assertIsNotNonerF  r   r   assertNotEqualr   rE   r   r   r   getattr)r   r.   r   r   r  sgr   rG  rg  match_leavesrest_leavespartrl  r   s   &&&           r   split_exception_group1ExceptionGroupSplitTestBase.split_exception_groupG  sV   b"45hhuo[[!!%);<%e,%%a/ -   $!!"&89%b)%%a/ * !!$(:;	M 	  r
;e}Tlr
OuVD\!22	4 A++!+)))+  "%D  T\\:bllDNN;bnnd.>.>?b..0B0BC  BT2D+t46 &	
	6 "%DD\((|A23|A457 " & {r   r"   N)r#   r$   r%   r&   rw  r'   r(   r)   s   @r   rc  rc  E  s     @ @r   rc  c                   >   a  ] tR tRt o R tR tR tR tR tRt	V t
R# )	NestedExceptionGroupSplitTesti  c                6  a	a
a  ! R  R\         4      o	R oR o
V	V
V3R lp V! 4        \        ^4      \	        \
        4      \        ^4      .\        ^4      \	        \
        4      \        ^4      .\        ^4      .\        ^4      .p\        ^4      \        ^4      .\        ^4      \        ^4      .\        ^4      .\        ^4      .p\	        \
        4      .\	        \
        4      ...pV P                  X\         V4       V P                  V\        4      w  rxV P                  V4       V P                  V\         V4       V P                  V\        4      w  rxV P                  V\         V4       V P                  V4       V P                  V\        \        34      w  rxV P                  V\         V4       V P                  V4       V P                  V\        4      w  rxV P                  V\         V4       V P                  V\         V4       V P                  V\        \        34      w  rxV P                  V\         V4       V P                  V\         V4       VP                  \         4      w  rxV P                  Ws4       V P                  V4       VP                  S	4      w  rxV P                  V\         V^ ,          .4       V P                  V\         V^,          .4       R#   \          d+   pTP                  R\        T4       24       Tp Rp?ELRp?ii ; i)c                       ] tR tRtRtR# )JNestedExceptionGroupSplitTest.test_split_by_type.<locals>.MyExceptionGroupi  r"   NrY   r"   r   r   MyExceptionGroupr}    r[   r   r~  c                     \        V 4      hr	   )r2   )vs   &r   raiseVEANestedExceptionGroupSplitTest.test_split_by_type.<locals>.raiseVE  s    Q-r   c                     \        V 4      hr	   )r   )r   s   &r   raiseTEANestedExceptionGroupSplitTest.test_split_by_type.<locals>.raiseTE  s    A,r   c                  H   <aa VV3R  loVVV3R loVV3R lp V ! ^4       R# )c                    < . pSV 3S\         3SV ^,           33 F  w  r# V! V4       K  	  \        RV4      h  \         d   pTP                  T4        Rp?K@  Rp?ii ; i)rD   Nmsg1)r   r   r   r   )r   rH   r   r   r   r  r  s   &    r   level1VNestedExceptionGroupSplitTest.test_split_by_type.<locals>.nested_group.<locals>.level1  sf     '|gs^gqs^LFA'# M
 %VT22 % 'A'   8AAAc                    < . pSV 3SV ^,           3SV ^,           33 F  w  r# V! V4       K  	  S! RV4      h  \          d   pTP                  T4        Rp?K=  Rp?ii ; i)rD   Nmsg2)r   r   )r   rH   r   r   r   r~  r  r  s   &    r   level2VNestedExceptionGroupSplitTest.test_split_by_type.<locals>.nested_group.<locals>.level2  sj     &{VQqSMGQqS>JFA'# K
 'vt44 % 'A's   8AAAc                    < . pSV ^,           3SV ^,           33 F  w  r# V! V4       K  	  \        RV4      h  \          d   pTP                  T4        Rp?K@  Rp?ii ; i)rD   Nmsg3)r   r   r   )r   rH   r   r   r   r  r  s   &    r   level3VNestedExceptionGroupSplitTest.test_split_by_type.<locals>.nested_group.<locals>.level3  sc     &!}w!n=FA'# >
 %VT22 % 'A'r  Nr"   )r  r  r  r~  r  r  s    @@r   nested_groupFNestedExceptionGroupSplitTest.test_split_by_type.<locals>.nested_group  s    353 1Ir   z
the note: N)r   add_noteidr2   r   r   r   rw  r8   r   r   r   rE   )r   r  r   r.   r   valueErrors_templatetypeErrors_templater   r  r~  r  r  s   &        @@@r   test_split_by_type0NestedExceptionGroupSplitTest.test_split_by_type  s   	~ 		 		<	N A	#
1>A	#
1>1
 qM A
1.A
1.1
 qM  "+3 09S>2BCD""2~{C 00[A% ""4E 00]C""5.+F$00j)5LM""5.+F$ 00Z@""5.:NO""49LM 00i5MN""5.:MN""49MN hh~.e $ hh/0""5.;q>:JK""4+a.9IJo  	JJBqE7+,B	s   K# #L.LLc           	     ^   R  p \        RV! \        ^4      4      V! \        ^4      4      .4      h  \          d   pTp Rp?MRp?ii ; iT P                  T\        4      w  rET P                  T4       T P                  T\         \        ^4      \        ^4      .4       T P                  T\        \        34      w  rET P                  T\         \        ^4      \        ^4      .4       T P                  T4       T P                  T\        4      w  rET P                  T\        \        ^4      .4       T P                  T\         \        ^4      .4       T P                  T\        4      w  rET P                  T\         \        ^4      .4       T P                  T\        \        ^4      .4       R# )c                 <     V h  \          d   pTu R p?# R p?ii ; ir	   )r   )exr   s   & r   r   HNestedExceptionGroupSplitTest.test_split_BaseExceptionGroup.<locals>.exc  s!      s    rL   N)r   r2   rP   rw  r   r   r   r   )r   r   r   rL   r   r  s   &     r   test_split_BaseExceptionGroup;NestedExceptionGroupSplitTest.test_split_BaseExceptionGroup  s   		$JqM*C0A!0D,EFH H! 	C	 00i@% ""$z!}6G6J&K	M 00*/02""%
17H7K'L	N$ 00jA"">JqM?	4""$'8';&<	> 006GH""%(9!(<'=	?"".:a=/	3s   ,1 AAAc                   \        R \        ^4      \        ^4      .4      pVP                  R4       VP                  R4       \	        VP
                  4      pVP                  \        4      w  r4V P                  VP
                  V4       V P                  VP
                  V4       V P                  VP
                  V4       V P                  VP
                  VP
                  4       V P                  VP
                  VP
                  4       V P                  VP
                  VP
                  4       VP                  R 4       VP                  R4       VP                  R4       V P                  VP
                  VR .,           4       V P                  VP
                  VR.,           4       V P                  VP
                  VR.,           4       R# )r.   note1note2r   r  N)	r   r2   r   r  r]  ri  r   r   assertIsNot)r   r.   
orig_notesr   r  s   &    r   test_split_copies_notes5NestedExceptionGroupSplitTest.test_split_copies_notes  sJ   D:a=)A,"?@
G
G",,'
hhy)z2*54u7t~~6$..9
DwfzTF':;*y*@Avh)>?r   c                    \        R \        ^4      \        ^4      .4      p^{Vn        VP	                  \        4      w  r#V P                  VR4       V P                  VR4       R# )r.   ri  N)r   r2   r   ri  r   assertNotHasAttr)r   r.   r   r  s   &   r   +test_split_does_not_copy_non_sequence_notesINestedExceptionGroupSplitTest.test_split_does_not_copy_non_sequence_notes+  sT     D:a=)A,"?@hhy)e[1dK0r   c                    ! R  R\         4      pV! R\        ^4      \        ^4      .4      pRpV P                  \        V4      ;_uu_ 4        VP	                  \        4       RRR4       V P                  \        V4      ;_uu_ 4        VP                  \        4       RRR4       R#   + '       g   i     LN; i  + '       g   i     R# ; i)c                   &   a  ] tR tRt o R tRtV tR# )KNestedExceptionGroupSplitTest.test_drive_invalid_return_value.<locals>.MyEgi5  c                    ^*# )*   r"   rG   s   &&r   deriveRNestedExceptionGroupSplitTest.test_drive_invalid_return_value.<locals>.MyEg.derive6  s    r   r"   N)r#   r$   r%   r&   r  r'   r(   r)   s   @r   MyEgr  5  s      r   r  r.   z4derive must return an instance of BaseExceptionGroupN)r   r   r2   r   r   r   )r   r  r.   rd   s   &   r   test_drive_invalid_return_value=NestedExceptionGroupSplitTest.test_drive_invalid_return_value4  s    	> 	 $1z!}56D##Is33HHY 4##Is33KK	" 43 43333s   B)	B<)B9	<C	r"   N)r#   r$   r%   r&   r  r  r  r  r  r'   r(   r)   s   @r   rz  rz    s(     aKF&3P@(1
# 
#r   rz  c                   2   a  ] tR tRt o R tR tR tRtV tR# )%NestedExceptionGroupSubclassSplitTestiA  c                0    ! R  R\         4      p   \        ^4      h  \         d   pT! RT.4      hRp?ii ; i  T d/   p \        ^4      h  \         d   pT! RYC.4      hRp?ii ; iRp?ii ; i  T d   pTp Rp?MRp?ii ; iT P                  Ya\        ^4      \        ^4      ..4       T P	                  T\
        4      w  rxT P                  T4       T P                  T\         \        ^4      \        ^4      ..4       T P	                  T\        \        34      w  rxT P                  T\         \        ^4      \        ^4      ..4       T P                  T4       T P	                  T\        4      w  rxT P                  T\         \        ^4      .4       T P                  T\         \        ^4      ..4       T P	                  T\        4      w  rxT P                  T\         \        ^4      ..4       T P                  T\         \        ^4      .4       R# )c                       ] tR tRtRtR# )nNestedExceptionGroupSubclassSplitTest.test_split_ExceptionGroup_subclass_no_derive_no_new_override.<locals>.EGiD  r"   NrY   r"   r   r   EGr  D  r[   r   r  r   Nr.   )r   r   r2   r   rw  r   r   )	r   r  ter   ver   r.   r   r  s	   &        r   <test_split_ExceptionGroup_subclass_no_derive_no_new_overridebNestedExceptionGroupSubclassSplitTest.test_split_ExceptionGroup_subclass_no_derive_no_new_overrideC  s   	 			1-#A,&  -Xt,,- 11$Q-'! 1TB<0011
  	B	 	""2JqMIaL>+JK 00W=% "".:a=9Q<."A	C 00j)5LM"">JqMIaL>#B	D$ 00Z@""5.:a=/J""49Q<.9IJ 00Y?""5.IaL>:JK""4*Q-IsU    8
38; A0AA(
A##A((A++A00A3 3B:BBc                    ! R  R\         4      p V! R\        ^4      \        ^4      .R4      h  T d   pTp Rp?MRp?ii ; iT P                  Y1\        ^4      \        ^4      .4       T P	                  T\
        4      w  rET P                  T4       T P                  T\         \        ^4      \        ^4      .4       T P	                  T\        \        34      w  rET P                  T\         \        ^4      \        ^4      .4       T P                  T4       T P	                  T\        4      w  rET P                  T\        \        ^4      .4       T P                  T\         \        ^4      .4       T P	                  T\        4      w  rET P                  T\         \        ^4      .4       T P                  T\        \        ^4      .4       R# )c                   2   a a ] tR tRt oV 3R ltRtVtV ;t# )oNestedExceptionGroupSubclassSplitTest.test_split_BaseExceptionGroup_subclass_no_derive_new_override.<locals>.EGin  c                $   < \         SV `  WV4      # r	   )super__new__)clsr   rH   unused	__class__s   &&&&r   r  wNestedExceptionGroupSubclassSplitTest.test_split_BaseExceptionGroup_subclass_no_derive_new_override.<locals>.EG.__new__o  s    
 wsT::r   r"   )r#   r$   r%   r&   r  r'   r(   __classcell__)r  r*   s   @@r   r  r  n  s     ; ;r   r  r.   r  N)r   r2   rP   r   rw  r   r   r   )r   r  r   r.   r   r  s   &     r   =test_split_BaseExceptionGroup_subclass_no_derive_new_overridecNestedExceptionGroupSubclassSplitTest.test_split_BaseExceptionGroup_subclass_no_derive_new_overridem  s   	;# 	;	TJqM+<Q+?@(KK 	B	 	""Z]$5a$89	; 00W=% ""$z!}6G6J&K	M 00./1""%
17H7K'L	N$ 00Z@""5.:a=/J""$'8';&<	> 005FG""%(9!(<'=	?""4*Q-Is   / A=Ac                  a  ! V3R  lR\         4      o   \        ^4      h  \         d   pS! RT.^e4      hRp?ii ; i  S d0   p \        ^4      h  \         d   pS! RY2.^*4      hRp?ii ; iRp?ii ; i  S d   pTp Rp?MRp?ii ; iT P                  TS\        ^4      \        ^4      ..4       T P	                  T\
        4      w  rgT P                  T4       T P                  TS\        ^4      \        ^4      ..4       T P                  TP                  ^*4       T P                  TP                  ^,          P                  ^e4       T P	                  T\        \        34      w  rgT P                  TS\        ^4      \        ^4      ..4       T P                  TP                  ^*4       T P                  TP                  ^,          P                  ^e4       T P                  T4       T P	                  T\        4      w  rgT P                  TS\        ^4      .4       T P                  TP                  ^*4       T P                  TS\        ^4      ..4       T P                  TP                  ^*4       T P                  TP                  ^ ,          P                  ^e4       T P	                  T\        4      w  rgT P                  TS\        ^4      ..4       T P                  TP                  ^*4       T P                  TP                  ^ ,          P                  ^e4       T P                  TS\        ^4      .4       T P                  TP                  ^*4       R# )c                   @   <a a ] tR tRt oV 3R ltV3R ltRtVtV ;t# )mNestedExceptionGroupSubclassSplitTest.test_split_ExceptionGroup_subclass_derive_and_new_overrides.<locals>.EGi  c                4   < \         SV `  WV4      pW4n        V# r	   )r  r  code)r  r   rH   r  objr  s   &&&& r   r  uNestedExceptionGroupSubclassSplitTest.test_split_ExceptionGroup_subclass_derive_and_new_overrides.<locals>.EG.__new__  s    gocD9
r   c                >   < S! V P                   WP                  4      # r	   )r   r  )r   rH   r  s   &&r   r  tNestedExceptionGroupSubclassSplitTest.test_split_ExceptionGroup_subclass_derive_and_new_overrides.<locals>.EG.derive  s    $,,ii88r   r"   )	r#   r$   r%   r&   r  r  r'   r(   r  )r  r*   r  s   @@r   r  r    s     
9 9r   r  r   Nr.   )
r   r   r2   r   rw  r   r   r   r  r   )	r   r  r   r  r   r.   r   r  r  s	   &       @r   ;test_split_ExceptionGroup_subclass_derive_and_new_overridesaNestedExceptionGroupSubclassSplitTest.test_split_ExceptionGroup_subclass_derive_and_new_overrides  s   	9 	9		52#A,&  2XtS112 55$Q-'! 5TB<4455
  	B	 	""2rJqMIaL>+JK 00W=% ""4jmil^-LMB'+00#6 00j)5LM""5"z!}y|n.MNR())!,1137$ 00Z@""5"z!}o>R(""4y|n-=>B'+00#6 00Y?""5"	!~.>?R())!,1137""4jm_=B'sW   " =8=A   A6AA.A))A..A11A66A9 9B BBr"   N)	r#   r$   r%   r&   r  r  r  r'   r(   r)   s   @r   r  r  A  s     (JT(JT6( 6(r   r  __main__r	   )collections.abcr   r   unittesttest.supportr   r   r   TestCaser   r,   rB   r}   r   r   r   r   r   r  r3  r@  rD  rM  rO  rc  rz  r  r#   mainr"   r   r   <module>r     s>      j jIh&7&7 I ">** ">JFx(( FR>)h'' >)B@)-8,, )-X6X.. 60 EP"8 EPPN=5 N=b"h&7&7 ",:)) :"0(!%; (!VB"8 BJt#$? t#nL(,G L(^ zMMO r   