JX(?^VSSKrSSKrSSKrSSKJr "SS\R 5r"SS\R 5r"SS\R 5r "S S \R 5r S r "S S \R 5r "SS\R 5r "SS5r"SS\ 5r"SS\ 5r"SS\R 5rS%Sjr"SS\R 5rSr"SS\ 5r"SS\ 5r"S S!\5r"S"S#\5r\S$:Xa\R4"5 gg)&N)get_c_recursion_limitc&\rSrSrSrSrSrSrg)TestExceptionGroupTypeHierarchycUR[[[55 UR[[[55 UR[[[ 55 gN) assertTrue issubclassExceptionGroup ExceptionBaseExceptionGroup BaseExceptionselfs @/opt/alt/python313/lib64/python3.13/test/test_exception_group.pytest_exception_group_types:TestExceptionGroupTypeHierarchy.test_exception_group_typess=  >9=>  >3EFG  #5}EFc~UR[S5 [[ SSS5 g!,(df  g=f)Nr )assertRaisesRegex TypeErrorr OSErrorrs r"test_exception_is_not_generic_typeBTestExceptionGroupTypeHierarchy.test_exception_is_not_generic_type s&  # #I{ ; g < ; ;s. <c[nUR[U[R5 UR[ U[R5 gr)rassertIsInstancer types GenericAliasr )rEs r$test_exception_group_is_generic_typeDTestExceptionGroupTypeHierarchy.test_exception_group_is_generic_types>  nQ/1C1CD 03U5G5GHrN)__name__ __module__ __qualname____firstlineno__rrr __static_attributes__r"rrrrsG Irrc,\rSrSrSrSrSrSrSrg)BadConstructorArgscSnUR[U5 [S5 SSS5 UR[U5 [[S5/5 SSS5 UR[U5 [S[S5/[S5/5 SSS5 g!,(df  N=f!,(df  N`=f!,(df  g=f)Nz8BaseExceptionGroup.__new__\(\) takes exactly 2 argumentsz no errorszno msgegtoomanyrrr ValueErrorrMSGs r'test_bad_EG_construction__too_many_args:BadConstructorArgs.test_bad_EG_construction__too_many_argssI  # #Is 3 ; '4  # #Is 3 Jx01 24  # #Is 3 4*U"3!4y7H6I J4 3 4 3 3 3 3 3s# B"B37"C" B03 C Cc0SnUR[U5 [[S5[ S55 SSS5 UR[U5 [S[S5/5 SSS5 g!,(df  ND=f!,(df  g=f)Nzargument 1 must be str, not z bad syntax)rrr r0 SyntaxErrorr1s r%test_bad_EG_construction__bad_message8BadConstructorArgs.test_bad_EG_construction__bad_message sh,  # #Is 3 :b>;|+D E4  # #Is 3 4*R.!1 24 34 3 3 3sA6B6 B BcSnUR[U5 [S[S515 SSS5 UR[U5 [SS5 SSS5 SnUR[U5 [S/5 SSS5 g!,(df  Ng=f!,(df  NM=f!,(df  g=f)Nz1second argument \(exceptions\) must be a sequencezerrors not sequence*r,z;second argument \(exceptions\) must be a non-empty sequencer/r1s r+test_bad_EG_construction__bad_excs_sequence>BadConstructorArgs.test_bad_EG_construction__bad_excs_sequence'sB  # #Is 3 0:b>2B C4  # #Is 3 4 &4M  # #J 4 4 $5 4 4 3 3 35 4s#B B"; B3 B" B03 CcSnUR[U5 [S[/5 SSS5 UR[U5 [SS/5 SSS5 g!,(df  N;=f!,(df  g=f)NzAItem [0-9]+ of second argument \(exceptions\) is not an exceptionzexpect instance, not typez bad errorznot an exception)rr0r rr1s r/test_bad_EG_construction__nested_non_exceptionsBBadConstructorArgs.test_bad_EG_construction__nested_non_exceptions2sa%  # #J 4 6 B5  # #J 4 ;);(< =5 45 4 4 4sA  A1 A.1 A?r"N) r#r$r%r&r3r8r<r?r'r"rrr)r)sK3 %>rr)cP\rSrSrSrSrSrSrSrSr Sr S r S r S r S rg )InstanceCreation;c[S5[S5/nUR[[ SU55[5 g)Nr,)r0rassertIstyper rexcss r$test_EG_wraps_Exceptions__creates_EG5InstanceCreation.test_EG_wraps_Exceptions__creates_EG<s21 y|, d+ ,  rc[S5[S5/nUR[[ SU55[ 5 g)NrErFbeg)r0rrGrHr r rIs r%test_BEG_wraps_Exceptions__creates_EG6InstanceCreation.test_BEG_wraps_Exceptions__creates_EGBs31 y|, #E40 1  rcSnUR[U5 [S[S5[ S5/5nSSS5 g!,(df  g=f)Nz/Cannot nest BaseExceptions in an ExceptionGroupr,rErF)rrr r0KeyboardInterrupt)rr2r,s r-test_EG_wraps_BaseException__raises_TypeError>InstanceCreation.test_EG_wraps_BaseException__raises_TypeErrorHs> >  # #Is 3z!}6G6J&KLB4 3 3s !A Ac[S[S5[S5/5nUR[ U5[5 g)NrNrErF)r r0rRrGrH)rrNs r)test_BEG_wraps_BaseException__creates_BEG:InstanceCreation.test_BEG_wraps_BaseException__creates_BEGMs0 A8I!8L(MN d3i!34rc "SS[5nUR[U"S[S5[ S5/55U5 g)Nc\rSrSrSrg)IInstanceCreation.test_EG_subclass_wraps_non_base_exceptions..MyEGRr"Nr#r$r%r&r'r"rrMyEGrZR rr]r,r6r;)r rGrHr0rrr]s r*test_EG_subclass_wraps_non_base_exceptions;InstanceCreation.test_EG_subclass_wraps_non_base_exceptionsQs; >  dZ^Yr];< =  rc"SS[5nSnUR[U5 U"S[S5[ S5/5 SSS5 g!,(df  g=f)Nc\rSrSrSrg)MInstanceCreation.test_EG_subclass_does_not_wrap_base_exceptions..MyEGZr"Nr\r"rrr]rdZr^rr]$Cannot nest BaseExceptions in 'MyEG'r,r6r;)r rrr0rRrr]msgs r.test_EG_subclass_does_not_wrap_base_exceptions?InstanceCreation.test_EG_subclass_does_not_wrap_base_exceptionsYsJ > 5  # #Is 3  2(9"(=> ?4 3 3s A Ac"SS[[5nSnUR[U5 U"S[S5[ S5/5 SSS5 g!,(df  g=f)Nc\rSrSrSrg)TInstanceCreation.test_BEG_and_E_subclass_does_not_wrap_base_exceptions..MyEGbr"Nr\r"rrr]rmbr^rr]rfr,r6r;)r r0rrrRrgs r5test_BEG_and_E_subclass_does_not_wrap_base_exceptionsFInstanceCreation.test_BEG_and_E_subclass_does_not_wrap_base_exceptionsasM %z 5  # #Is 3  2(9"(=> ?4 3 3s A A"cd"SS[[5nU"S[S5[5/5 g)Nc\rSrSrSrg)[InstanceCreation.test_EG_and_specific_subclass_can_wrap_any_nonbase_exception..MyEGjr"Nr\r"rrr]rsjr^rr]r,r6)r r0r r_s r:  TJrNIK01rcd"SS[[5nU"S[S5[5/5 g)Nc\rSrSrSrg)\InstanceCreation.test_BEG_and_specific_subclass_can_wrap_any_nonbase_exception..MyEGqr"Nr\r"rrr]ryqr^rr]r,r6)r r0r r_s r=test_BEG_and_specific_subclass_can_wrap_any_nonbase_exceptionNInstanceCreation.test_BEG_and_specific_subclass_can_wrap_any_nonbase_exceptionps( %z  TJrNIK01rc "SS[5nUR[U"S[S5[ S5/55U5 UR[U"S[S5[ S5/55U5 g)Nc\rSrSrSrg)@InstanceCreation.test_BEG_subclass_wraps_anything..MyBEGyr"Nr\r"rrMyBEGryr^rrr,r6r;)r rGrHr0rrR)rrs r test_BEG_subclass_wraps_anything1InstanceCreation.test_BEG_subclass_wraps_anythingxsk &  tjnim<= >   tjn.?.CDE F  rr"N)r#r$r%r&rKrOrSrVr`rirorur{rr'r"rrrBrB;s7  M 5@@22 rrBc&\rSrSrSrSrSrSrg)StrAndReprTestsc `[S[S5[S5/5nUR[ U5S5 UR[ U5S5 [SU[S5U[S5/5nUR[ U5S5 UR[ U5S5 g) NflatrErFflat (2 sub-exceptions)z5ExceptionGroup('flat', [ValueError(1), TypeError(2)])nestednested (4 sub-exceptions)zExceptionGroup('nested', [ExceptionGroup('flat', [ValueError(1), TypeError(2)]), ValueError(1), ExceptionGroup('flat', [ValueError(1), TypeError(2)]), TypeError(2)]))r r0r assertEqualstrreprrr,s rtest_ExceptionGroup#StrAndReprTests.test_ExceptionGroups  Z]IaL13 R";< b C E r:a="il;= R"=> b E FrcL[S[S5[S5/5nUR[ U5S5 UR[ U5S5 [SU[S5U/5nUR[ U5S5 UR[ U5S5 g) NrrErFrzABaseExceptionGroup('flat', [ValueError(1), KeyboardInterrupt(2)])rznested (3 sub-exceptions)zBaseExceptionGroup('nested', [BaseExceptionGroup('flat', [ValueError(1), KeyboardInterrupt(2)]), ValueError(1), BaseExceptionGroup('flat', [ValueError(1), KeyboardInterrupt(2)])]))r r0rRrrrrs rtest_BaseExceptionGroup'StrAndReprTests.test_BaseExceptionGroups  Z]$5a$89; R";< b 9 :  r:a="-/ R"=> b ? @rc r"SS[5nU"S[S5[S5/5nUR[ U5S5 UR[ U5S5 U"SU[S5U[S5/5nUR[ U5S 5 UR[ U5S 5 g) Nc\rSrSrSrg)3StrAndReprTests.test_custom_exception..MyEGr"Nr\r"rrr]rr^rr]rrErFrz+MyEG('flat', [ValueError(1), TypeError(2)])rrzMyEG('nested', [MyEG('flat', [ValueError(1), TypeError(2)]), ValueError(1), MyEG('flat', [ValueError(1), TypeError(2)]), TypeError(2)]))r r0rrrr)rr]r,s rtest_custom_exception%StrAndReprTests.test_custom_exceptions >  Z]IaL13 R";< b#PQ  r:a="il;= R"=> b' )rr"N)r#r$r%r&rrrr'r"rrrrsF(@,)rrcH/n[S5e![an[S5UeSnAff=f![anURU5 SnAOSnAff=f[S5e![an[ [ 5eSnAff=f![anURU5 SnAOSnAff=f[ S5e![ an[S5eSnAff=f![anURU5 SnAOSnAff=f[SU5e![a nUsSnA$SnAff=f)Nz#context and cause for ValueError(1)rEzcontext for TypeErrorzcontext for ValueError(2)rF simple eg) MemoryErrorr0appendrrint ImportErrorr )rJes rcreate_simple_egrs D 'CD D 'Q-Q & '  A !12 2 !C.  !  A 9: : Q-   A[$// s  + &+. AAA A## B-A<<BB B)B$$B). B99 C CCC C; C66C;? D D!DD!D!c \rSrSrSrSrSrg)ExceptionGroupFieldsc.[5nURURS5 URURSS5 UR UR S[ 5 UR UR SR[5 UR UR SR[5 UR UR S[5 URUR SR5 UR UR SR[5 UR UR S[ 5 URUR SR5 UR UR SR[5 [RRnUS-US-US-US-//nURUR R"US5 URUR R$5 ['S 5HYnUR UR nURUR$5 URUR"USU5 M[ g) NrrrErFrr*)rrmessageargsr exceptionsr0 __cause__r __context__r assertIsNonerr__code__co_firstlineno __traceback__ tb_linenotb_nextrange)rr,line0 tb_linenositbs r!test_basics_ExceptionGroup_fields6ExceptionGroupFields.test_basics_ExceptionGroup_fieldss   [1 [1 bmmA. ; bmmA.88+F bmmA.::KH bmmA. : "--*445 bmmA.::GD bmmA. ; "--*445 bmmA.::KH!))88bjqy%"*ebj9;  ))33Z]C "**223qAq!//B   bjj )   R\\:a=+; <rc[S[S5[S5/5nUR[ UR 5[ 5 UR UR[5 SUlSSS5 UR UR[5 [S5/UlSSS5 g!,(df  NJ=f!,(df  g=f)Nr,rErFznew msgxyz) r rrrrHrtupler assertRaisesAttributeErrorrs rtest_fields_are_readonly-ExceptionGroupFields.test_fields_are_readonlys D9Q<"< = bmm,e4   ~ ."BJ/   ~ .$U^,BM/ . / ./ .s+B7C7 C Cr"N)r#r$r%r&rrr'r"rrrrs =: -rrc\rSrSrSrSrg)ExceptionGroupTestBaseic@UbUR[U5U5 [U[5(aUR U[ R R5 UR[UR5[U55 [URU5HupEURUSU5 M gUR U[5 UR[U5[U55 URURUR5 gr)rGrH isinstancer r collectionsabcSequencerlenrzipassertMatchesTemplaterr)rexcexc_typetemplaterts rr,ExceptionGroupTestBase.assertMatchesTemplates   MM$s)X . c- . .  ! !(KOO,D,D E   S0#h- @CNNH5**1dA66  ! !(M :   T#YX 7   SXXx}} 5rr"N)r#r$r%r&rr'r"rrrrs6rrc&\rSrSrSrSrSrSrg) Predicatei)cXlgrfunc)rrs r__init__Predicate.__init__*s rc$URU5$rrrrs r__call__Predicate.__call__-yy|rc$URU5$rrrs rmethodPredicate.method0rrrN)r#r$r%r&rrrr'r"rrrr)srrcD\rSrSrSrSrSrSrSrSr Sr S r S r g ) ExceptionGroupSubgroupTestsi3ct[5Ul[S5[[5[S5/UlgNrErFrr,r0rr eg_templaters rsetUp!ExceptionGroupSubgroupTests.setUp4'"$&qM9S>:a=Irc"SS5nSU[S5[[/[S4/nUHunUR[5 URR U5 SSS5 UR[5 URR U5 SSS5 Mw g!,(df  NL=f!,(df  M=f)Nc\rSrSrSrg)OExceptionGroupSubgroupTests.test_basics_subgroup_split__bad_arg_type..Ci9r"Nr\r"rrCr9r^rrzbad argzinstance not typer;)rrrr,subgroupsplit)rrbad_argsargs r(test_basics_subgroup_split__bad_arg_typeDExceptionGroupSubgroupTests.test_basics_subgroup_split__bad_arg_type8s  /0i(bM  C""9-  %.""9- c".-----sB'>B8' B5 8 C c<URnURXR[55 URXR[55 URXR[ 55 URXR[ 55 gr)r,rGrrr r r rs r)test_basics_subgroup_by_type__passthroughEExceptionGroupSubgroupTests.test_basics_subgroup_by_type__passthroughHs` WW b++m45 b++i01 b++&89: b++n56rc`URURR[55 gr)rr,rrrs r&test_basics_subgroup_by_type__no_matchBExceptionGroupSubgroupTests.test_basics_subgroup_by_type__no_matchOs $''**734rcURn[[S5[S5/4[[[5/4[[4UR4/nUHkup4UR US9 UR U5nURURUR5 URU[U5 SSS5 Mm g!,(df  M=f)NrErF)match) r,r0rrrsubTestrrrrr )rr, testcases match_typersubegs r#test_basics_subgroup_by_type__match?ExceptionGroupSubgroupTests.test_basics_subgroup_by_type__matchRs WW*Q-A7 8 3( )) $d&6&6 7 9 %. JJ/ J/   ;**5.(K0/%.//s ,AC C cSnU[U5[U5R4H8nURURURR U55 M: g)NcgNTr"rs r\ExceptionGroupSubgroupTests.test_basics_subgroup_by_predicate__passthrough..adr)rrrGr,rrfcallables r.test_basics_subgroup_by_predicate__passthroughJExceptionGroupSubgroupTests.test_basics_subgroup_by_predicate__passthrough`sG IaL)A,*=*=>H MM$''477#3#3H#= >?rcSnU[U5[U5R4H-nURURR U55 M/ g)NcgNFr"rs rrYExceptionGroupSubgroupTests.test_basics_subgroup_by_predicate__no_match..fer)rrrr,rr s r+test_basics_subgroup_by_predicate__no_matchGExceptionGroupSubgroupTests.test_basics_subgroup_by_predicate__no_matchesC IaL)A,*=*=>H   dgg..x8 9?rc^URn[[S5[S5/4[[[5/4[[4UR4/nUHumnU4SjnU[ U5[ U5R 4HinURUS9 URU5nURURUR5 URU[U5 SSS5 Mk M g!,(df  M=f)NrErFc>[UT5$rrrrs rrVExceptionGroupSubgroupTests.test_basics_subgroup_by_predicate__match..s *Q 3r)r ) r,r0rrrrrrrrrrr )rr,rrr r rrs @r(test_basics_subgroup_by_predicate__matchDExceptionGroupSubgroupTests.test_basics_subgroup_by_predicate__matchjs WW*Q-A7 8 3( )) $d&6&6 7 9 %. J3A ! il.A.AB\\8\4KKNE$$U]]BJJ?..unhO54C%.54s AC88 D r,rN) r#r$r%r&rrrrrr rrr'r"rrrr3s-J# 75 L? : Prrc>\rSrSrSrSrSrSrSrSr Sr S r g ) ExceptionGroupSplitTestsi{ct[5Ul[S5[[5[S5/Ulgrrrs rrExceptionGroupSplitTests.setUp|rrc[[[[4HRnURR U5up#UR U[UR5 URU5 MT gr) rr r r r,rrrr)rrrrests r&test_basics_split_by_type__passthrough?ExceptionGroupSplitTests.test_basics_split_by_type__passthroughsU$n6A''--*KE  & &~t'7'7 9   d # 6rcURR[5upURU5 UR U[ UR 5 gr)r,rrrrr r)rrr#s r#test_basics_split_by_type__no_match.rr)rrr,rrr rrrr r rr#s r+test_basics_split_by_predicate__passthroughDExceptionGroupSplitTests.test_basics_split_by_predicate__passthroughs` IaL)A,*=*=>H''--1KE  & &und>N>N O   d #?rcSnU[U5[U5R4HRnURRU5up4UR U5 UR U[ UR5 MT g)Ncgrr"rs rrSExceptionGroupSplitTests.test_basics_split_by_predicate__no_match..rr)rrr,rrrr rr3s r(test_basics_split_by_predicate__no_matchAExceptionGroupSplitTests.test_basics_split_by_predicate__no_matchs` IaL)A,*=*=>H''--1KE   e $  & &t^T=M=M N?rc`^ URn[n[nX""S5U"S5/U"[5/4X3"[5/U"S5U"S5/4X#4URS4/nUHum pVU 4SjnU[ U5[ U5R 4HnURU5upURU RUR5 URU [U5 UcMXURU RUR5 URU [U5 M M g)NrErFc>[UT5$rrrs rrPExceptionGroupSplitTests.test_basics_split_by_predicate__match..rr) r,r0rrrrrrrrrr ) rr,r*r+rr,r-r r rr#rs @r%test_basics_split_by_predicate__match>ExceptionGroupSplitTests.test_basics_split_by_predicate__matchs WW  "Q%A"S' + "S'RUBqEN +Xt'' .  :C 5J3A ! il.A.AB hhx0    ;**>>; ,$$T\\2::>..nm=C:CrrN) r#r$r%r&rr$r'r.r4r9r>r'r"rrrr{s'J$4 (0$O=rrc&\rSrSrSrSrSrSrg)DeepRecursionInSplitAndSubgroupicp[S5n[[5S-5Hn[SU/5nM U$)NrEr,)rrrr )rrrs r make_deep_eg,DeepRecursionInSplitAndSubgroup.make_deep_egs6 aL,.23AtaS)A4rcUR5nUR[5 UR[5 SSS5 g!,(df  g=fr)rCrRecursionErrorrrrs rtest_deep_split/DeepRecursionInSplitAndSubgroup.test_deep_splits6       ~ . GGI / . . A AcUR5nUR[5 UR[5 SSS5 g!,(df  g=fr)rCrrFrrrs rtest_deep_subgroup2DeepRecursionInSplitAndSubgroup.test_deep_subgroups6       ~ . JJy !/ . .rIr"N)r#r$r%r&rCrGrKr'r"rrrArAs  "rrAc## Uc/nURUR5 [U[5(a'URHn[ X!5ShvN M OX4v UR 5 gN7fr)rrrr rleaf_generatorpop)rtbsrs rrNrNsb {JJs  !#)**A%a- - - hGGI .sAA7A5 A7c\rSrSrSrSrg)LeafGeneratorTestic[5nUR[U5VVs/sHup#UPM snnUR5 [U5H,up$URXARUR/5 M. gs snnfr)rassertSequenceEqualrNrr)rr,r_rPs rtest_leaf_generator%LeafGeneratorTest.test_leaf_generatorsr     )"- .-41Q- . MM %R(FA  $ $&&8 :) /sB r"N)r#r$r%r&rVr'r"rrrRrRs :rrRc/n[[5e![an[SU/5eSnAff=f![anURU5 SnAOSnAff=f[ S5e![an[ S5UeSnAff=f![ anURU5 SnAOSnAff=f[SU5e![a nUsSnA$SnAff=f)Nrz out of memoryrEroot)rbytesr rrr0)rJrr,s rcreate_nested_egr[s D 0E" " 0 A3/ / 0  A 'o. . 'Q-Q & '  AVT**  sr 0 +03 AAA A(( B2 A>>BB B+B&&B+/ B;; CC C Cc,\rSrSrSrSrSrSrSrg)NestedExceptionGroupBasicsTesticx[5nURU[[[5/[ S5/5 g)NrE)r[rr rrZr0rs r"test_nested_group_matches_templateANestedExceptionGroupBasicsTest.test_nested_group_matches_templates2   ""   A / 1rc&[5nURURSR[5 URURSR [5 URURSR[ 5 g)NrEr)r[rrrrrrrs rtest_nested_group_chaining9NestedExceptionGroupBasicsTest.test_nested_group_chainingsg   bmmA.::KH bmmA.88+F bmmA.::IFrc[5n[RRnURUS-4URSRUS-4URSRUS-4URSRSRUS-44H<up4UR UR U5 URUR5 M> g)NrrrEr) r[rrrrrrrr)rr,rrexpecteds r&test_nested_exception_group_tracebacksENestedExceptionGroupBasicsTest.test_nested_exception_group_tracebacks$s   ))88   urz * ]]1  + +UQY 7 ]]1  + +URZ 8 ]]1  ( ( + 9 9519 E  NR   R\\8 4   bjj ) rc |[5nUR[[[ U555S5 [R R nUS-US-US-/US-US-//n[[ U55H6unupVURUVs/sHowRPM snX45 M8 gs snf)NrFrerrfr) r[rrlistrNrr enumeraterTr)rr,r expected_tbsrrUrPrs rtest_iteration_full_tracebacks=NestedExceptionGroupBasicsTest.test_iteration_full_tracebacks1s   T."456: ))88"*eai;"*ebj13 '~b'9:MQ  $ $(+,", !;,sB9 r"N) r#r$r%r&r_rbrhrnr'r"rrr]r]s1G * !rr]c\rSrSrSrSrg)ExceptionGroupSplitTestBaseiAc JURU[5 URU5up4URU5nUbURU[5 [ U5HupgURXb5 M UR U5 URU[5 [ U5HupgURXb5 M UbURU[5 SnUR U"U5U"U55 U"U5n U"U5n UR[U"U55[U"U55[U"U55-5 U"U5H+nURU=(a Xi;U=(a Xj;5 M- X4U4Hn U cMURURU R5 URURU R5 URURU R5 URURU R5 UR[USS5[U SS55 M Sn Sn X4U4H<n U"U 5H-nUR U "U "Xa55U "U "Xk555 M/ M> X44$)NcXUc/$[U5VVs/sHupUPM snn$s snnfrrN)rrrUs rleavesAExceptionGroupSplitTestBase.split_exception_group..leavesWs,2 Ls8K*L8K18K*L L*Ls& __notes__c<[U5H up#X LdM Us $ grrt)leafr,rrPs r tbs_for_leafGExceptionGroupSplitTestBase.split_exception_group..tbs_for_leafts(,9J-rcVUVs/sHo(dM URPM sn$s snfr)r)rPrs rrEExceptionGroupSplitTestBase.split_exception_group..tb_linenosys"+.53R"LBLL35 55s &&)rr rrrNassertIsNotNonerTrrassertNotEqualrrGrrrgetattr)rr,rrr#sgrrUru match_leaves rest_leavespartrzrs rsplit_exception_group1ExceptionGroupSplitTestBase.split_exception_groupCsP b"45hhuo  [[     ! !%); <%e,%%a/-   $  ! !"&8 9%b)%%a/*    ! !$(: ; M   r ;e} Tl   r O u VD\!2 2 4A   +!+)) + "%D  T\\: bllDNN; bnnd.>.>? b..0B0BC  B T2D+t46 &   6"%DD\((|A23|A457"& {rr"N)r#r$r%r&rr'r"rrrqrqAs@rrqc2\rSrSrSrSrSrSrSrSr g) NestedExceptionGroupSplitTestic"^ ^ ^ "SS[5m Sm Sm U U U 4SjnU"5 [S5[ [ 5[S5/[S5[ [ 5[S 5/[S 5/[S5/n[S5[S5/[S5[S 5/[S 5/[S5/n[ [ 5/[ [ 5///nUR W[U5 URU[5upxURU5 UR U[U5 URU[5upxUR U[U5 URU5 URU[[45upxUR U[U5 URU5 URU[5upxUR U[U5 UR U[U5 URU[[45upxUR U[U5 UR U[U5 UR[5upxURXs5 URU5 URT 5upxUR U[US /5 UR U[US /5 g![a*nURS[U535 UnSnAGNSnAff=f) Nc\rSrSrSrg)JNestedExceptionGroupSplitTest.test_split_by_type..MyExceptionGroupir"Nr\r"rrMyExceptionGrouprr^rrc[U5er)r0)vs rraiseVEANestedExceptionGroupSplitTest.test_split_by_type..raiseVEs Q- rc[U5er)r)rs rraiseTEANestedExceptionGroupSplitTest.test_split_by_type..raiseTEs A, rcF>^^UU4SjmUUU4SjmUU4SjnU"S5 g)Nc>/nTU4T[4TUS-44Hup#U"U5 M [SU5e![anURU5 SnAM?SnAff=f)NrEmsg1)rr rr )rrJr rrrrs rlevel1VNestedExceptionGroupSplitTest.test_split_by_type..nested_group..level1sf '|gs^gqs^LFA'#M %VT22%' A's4 AAAc>/nTU4TUS-4TUS-44Hup#U"U5 M T"SU5e![anURU5 SnAM<SnAff=f)NrErFmsg2)r r)rrJr rrrrrs rlevel2VNestedExceptionGroupSplitTest.test_split_by_type..nested_group..level2sj &{VQqSMGQqS>JFA'#K 'vt44%' A's0 AAAc>/nTUS-4TUS-44Hup#U"U5 M [SU5e![anURU5 SnAM?SnAff=f)NrErFmsg3)r rr )rrJr rrrrs rlevel3VNestedExceptionGroupSplitTest.test_split_by_type..nested_group..level3sc &!}w!n=FA'#> %VT22%' A's0 AAAr")rrrrrrs @@r nested_groupFNestedExceptionGroupSplitTest.test_split_by_type..nested_groups 3 5 3 1Irz the note: rrrE) r add_noteidr0rrrrr7rrrrG) rrrr,rvalueErrors_templatetypeErrors_templaterr#rrrs @@@rtest_split_by_type0NestedExceptionGroupSplitTest.test_split_by_types ~    <  NA # 1 >A # 1 >1   qM  A 1 .A 1 .1   qM  "+3 09S>2BCD ""2~{C00[A  %  ""4E00]C  ""5.+F $00j)5LM  ""5.+F $00Z@  ""5.:NO ""49LM00i5MN  ""5.:MN ""49MNhh~.  e  $hh/0  ""5.;q>:JK ""4+a.9IJo  JJBqE7+ ,B sK L$L  Lc ZSn[SU"[S55U"[S55/5e![a nUnSnAOSnAff=fURU[5upEUR U5 UR U[[S5[S5/5 URU[[45upEUR U[[S5[S5/5 UR U5 URU[5upEUR U[[S5/5 UR U[[S5/5 URU[5upEUR U[[S5/5 UR U[[S5/5 g)Nc:Ue![a nUsSnA$SnAff=fr)r)exrs rrHNestedExceptionGroupSplitTest.test_split_BaseExceptionGroup..excs!    s rNrErF)r r0rRrrrrr )rrrrNrr#s rtest_split_BaseExceptionGroup;NestedExceptionGroupSplitTest.test_split_BaseExceptionGroups   $JqM*C0A!0D,EFH H! C 00i@  %  "" $z!}6G6J&K M00 */02  "" % 1 7H7K'L N $00jA  "" >JqM? 4 "" $'8';&< >006GH  "" %(9!(<'= ? "" .:a=/ 3s,1 AAAc[S[S5[S5/5nURS5 URS5 [ UR 5nUR [5up4URUR U5 URUR U5 URUR U5 URUR UR 5 URUR UR 5 URUR UR 5 URS5 URS5 URS5 URUR US/-5 URUR US/-5 URUR US/-5 g)Nr,rErFnote1note2rr#) r r0rrrkrwrr assertIsNot)rr, orig_notesrr#s rtest_split_copies_notes5NestedExceptionGroupSplitTest.test_split_copies_notessJ D:a=)A,"? @ G G",,' hhy)  z2 *5 4 u7 t~~6 $..9 D w f zTF':; *y*@A vh)>?rc[S[S5[S5/5nSUlUR [5up#UR [ US55 UR [ US55 g)Nr,rErF{rw)r r0rrwr assertFalsehasattr)rr,rr#s r+test_split_does_not_copy_non_sequence_notesINestedExceptionGroupSplitTest.test_split_does_not_copy_non_sequence_notes's^D:a=)A,"? @ hhy)   45 {34rct"SS[5nU"S[S5[S5/5nSnUR[U5 UR [5 SSS5 UR[U5 UR [5 SSS5 g!,(df  NC=f!,(df  g=f)Nc\rSrSrSrSrg)KNestedExceptionGroupSplitTest.test_drive_invalid_return_value..MyEgi1cg)Nr;r"rIs rderiveRNestedExceptionGroupSplitTest.test_drive_invalid_return_value..MyEg.derive2srr"N)r#r$r%r&rr'r"rrMyEgr1s rrr,rErFz4derive must return an instance of BaseExceptionGroup)r rr0rrr)rrr,rhs rtest_drive_invalid_return_value=NestedExceptionGroupSplitTest.test_drive_invalid_return_value0s > $1z!}5 6D  # #Is 3 HHY 4  # #Is 3 KK "4 34 3 3 3sB9B) B&) B7r"N) r#r$r%r&rrrrrr'r"rrrrs aKF&3P@(5 #rrc&\rSrSrSrSrSrSrg)%NestedExceptionGroupSubclassSplitTesti=c&"SS[5n[S5e![anU"SU/5eSnAff=f!Ua-n[S5e![anU"SXC/5eSnAff=fSnAff=f!Ua nUnSnAOSnAff=fURXa[S5[S5//5 UR U[ 5upxUR U5 URU[[S5[S5//5 UR U[[45upxURU[[S5[S5//5 UR U5 UR U[5upxURU[[S5/5 URU[[S5//5 UR U[5upxURU[[S5//5 URU[[S5/5 g)Nc\rSrSrSrg)nNestedExceptionGroupSubclassSplitTest.test_split_ExceptionGroup_subclass_no_derive_no_new_override..EGi@r"Nr\r"rrEGr@r^rrrFrrEr,)r rr0rrrr) rrterverr,rr#s r+JK00W=  %  "" .:a=9Q<."A C00j)5LM  "" >JqMIaL>#B D $00Z@  ""5.:a=/J ""49Q<.9IJ00Y?  ""5.IaL>:JK ""4*Q-IsU  7 27:A- A  A% A  A%%A((A--A00B6A==Bc"SS[5nU"S[S5[S5/S5e!Ua nUnSnAOSnAff=fURX1[S5[S5/5 UR U[ 5upEUR U5 URU[[S5[S5/5 UR U[[45upEURU[[S5[S5/5 UR U5 UR U[5upEURU[[S5/5 URU[[S5/5 UR U[5upEURU[[S5/5 URU[[S5/5 g)Nc(^\rSrSrU4SjrSrU=r$)oNestedExceptionGroupSubclassSplitTest.test_split_BaseExceptionGroup_subclass_no_derive_new_override..EGijc$>[TU]XU5$r)super__new__)clsrrJunused __class__s rrwNestedExceptionGroupSubclassSplitTest.test_split_BaseExceptionGroup_subclass_no_derive_new_override..EG.__new__ks wsT::rr")r#r$r%r&rr' __classcell__)rs@rrrjs  ; ;rrr,rErFr)r r0rRrrrrr )rrrr,rr#s r=test_split_BaseExceptionGroup_subclass_no_derive_new_overridecNestedExceptionGroupSubclassSplitTest.test_split_BaseExceptionGroup_subclass_no_derive_new_overrideis ;# ; TJqM+005FG  "" %(9!(<'= ? ""4*Q-Is/A<Ac^"U4SjS[5m[S5e![anT"SU/S5eSnAff=f!Ta.n[S5e![anT"SX2/S5eSnAff=fSnAff=f!Ta nUnSnAOSnAff=fURUT[S5[S5//5 UR U[ 5upgUR U5 URUT[S5[S5//5 URURS5 URURSRS5 UR U[[45upgURUT[S5[S5//5 URURS5 URURSRS5 UR U5 UR U[5upgURUT[S5/5 URURS5 URUT[S5//5 URURS5 URURS RS5 UR U[5upgURUT[S5//5 URURS5 URURS RS5 URUT[S5/5 URURS5 g) Nc6>^\rSrSrU4SjrU4SjrSrU=r$)mNestedExceptionGroupSubclassSplitTest.test_split_ExceptionGroup_subclass_derive_and_new_overrides..EGic4>[TU]XU5nX4lU$r)rrcode)rrrJrobjrs rruNestedExceptionGroupSubclassSplitTest.test_split_ExceptionGroup_subclass_derive_and_new_overrides..EG.__new__sgocD9 rc>>T"URXR5$r)rr)rrJrs rrtNestedExceptionGroupSubclassSplitTest.test_split_ExceptionGroup_subclass_derive_and_new_overrides..EG.derives$,,ii88rr")r#r$r%r&rrr'r)rrs@rrrs   9 9rrrFrerEr,r;r) r rr0rrrrrrr) rrrrrr,rr#rs @r;test_split_ExceptionGroup_subclass_derive_and_new_overridesaNestedExceptionGroupSubclassSplitTest.test_split_ExceptionGroup_subclass_derive_and_new_overridess 9 9  52#A,& 2XtS112 55$Q-'!5TB<445 5  B  ""2rJqMIaL>+JK00W=  %  ""4jmil^-LM B' +00#600j)5LM  ""5"z!}y|n.MN R( ))!,1137 $00Z@  ""5"z!}o> R( ""4y|n-=> B' +00#600Y?  ""5" ! ~.>? R( ))!,1137 ""4jm_= B'sU " < 7<?A3 A A+ A&&A++A..A33A66B<BBr"N)r#r$r%r&rrrr'r"rrrr=s(JT(JT6(rr__main__r)collections.abcrrunittest test.supportrTestCaserr)rBrrrrrrrrArNrRr[r]rqrrr#mainr"rrrs; . Ih&7&7 I ">**">JFx((FR>)h''>)B@)-8,,)-X6X..60EP"8EPPN=5N=b"h&7&7"$ :)):"0(!%;(!VB"8BJt#$?t#nL(,GL(^ z MMOr