asda?‰PNG  IHDR ? f ??C1 sRGB ??é gAMA ±? üa pHYs ? ??o¨d GIDATx^íüL”÷e÷Y?a?("Bh?_ò???¢§?q5k?*:t0A-o??¥]VkJ¢M??f?±8\k2íll£1]q?ù???T a bYhM@sldZddlZddlZddlZddlmZddZeejej\Z Z Z eejej\Z Z ZedkrhedS)zUnit tests for abc.py.N) isabstractcsNGfdddtj}Gfdddtj}Gfdddtj}|||fS)Ncs0eZdZfddZfddZfddZdS)z#test_factory..TestLegacyAPIcstjdd}||jdd}|t|dGdddd}|t|Gd d d |}||j d |t |j dd dS) NcSsdSNselfrr)/usr/local/lib/python3.9/test/test_abc.pyfooszMtest_factory..TestLegacyAPI.test_abstractproperty_basics..foocSsdSrrrrrrbarzMtest_factory..TestLegacyAPI.test_abstractproperty_basics..bar__isabstractmethod__c@seZdZejddZdS)zKtest_factory..TestLegacyAPI.test_abstractproperty_basics..CcSsdSNrrrrrrszOtest_factory..TestLegacyAPI.test_abstractproperty_basics..C.fooN)__name__ __module__ __qualname__abcabstractpropertyrrrrrCsr metaclasscs eZdZefddZZS)zKtest_factory..TestLegacyAPI.test_abstractproperty_basics..DcstjSrsuperrr __class__rrrszOtest_factory..TestLegacyAPI.test_abstractproperty_basics..D.foo)rrrpropertyr __classcell__rrrrDsrr F) rr assertTruer assertFalsehasattr assertRaises TypeError assertEqualrgetattrrrr rr abc_ABCMetarrtest_abstractproperty_basicss   z@test_factory..TestLegacyAPI.test_abstractproperty_basicscstjdd}||jtdd}|t|ddGdddd }|t|Gd d d |}| | d | | d dS) NcSsdSrrclsrrrr$szPtest_factory..TestLegacyAPI.test_abstractclassmethod_basics..foocSsdSrrr(rrrr 'szPtest_factory..TestLegacyAPI.test_abstractclassmethod_basics..barr Fc@seZdZejddZdS)zNtest_factory..TestLegacyAPI.test_abstractclassmethod_basics..CcSs|jSrrr(rrrr,szRtest_factory..TestLegacyAPI.test_abstractclassmethod_basics..C.fooN)rrrrabstractclassmethodrrrrrr+srrcs eZdZefddZZS)zNtest_factory..TestLegacyAPI.test_abstractclassmethod_basics..Dcs tSrrr(rrrr0szRtest_factory..TestLegacyAPI.test_abstractclassmethod_basics..D.foorrr classmethodrrrrrrr/sr) rr+rr r-rr#r r!r"rr$r%rrtest_abstractclassmethod_basics#s    zCtest_factory..TestLegacyAPI.test_abstractclassmethod_basicscstjdd}||jtdd}|t|ddGdddd }|t|Gd d d |}| | d | | d dS) NcSsdSrrrrrrr6szQtest_factory..TestLegacyAPI.test_abstractstaticmethod_basics..foocSsdSrrrrrrr 9szQtest_factory..TestLegacyAPI.test_abstractstaticmethod_basics..barr Fc@seZdZejddZdS)zOtest_factory..TestLegacyAPI.test_abstractstaticmethod_basics..CcSsdSr rrrrrr>szStest_factory..TestLegacyAPI.test_abstractstaticmethod_basics..C.fooN)rrrrabstractstaticmethodrrrrrr=srrc@seZdZeddZdS)zOtest_factory..TestLegacyAPI.test_abstractstaticmethod_basics..DcSsdSNrrrrrrBszStest_factory..TestLegacyAPI.test_abstractstaticmethod_basics..D.fooNrrr staticmethodrrrrrrAsrr1) rr/rr r3rr#r r!r"rr$r%rr test_abstractstaticmethod_basics5s    zDtest_factory..TestLegacyAPI.test_abstractstaticmethod_basicsN)rrrr'r.r4rr%rr TestLegacyAPIs  r5cseZdZddZddZfddZfddZfd d Zfd d Zfd dZ fddZ fddZ fddZ fddZ fddZfddZfddZfddZfdd Zfd!d"Zfd#d$Zfd%d&Zd'd(Zfd)d*Zd+d,Zfd-d.Zd/S)0ztest_factory..TestABCcSsTGdddtj}|t|tj|t|Gddd|}||ddS)Nc@seZdZeejddZdS)z8test_factory..TestABC.test_ABC_helper..CcSs|jSrr*r(rrrrMsz.TestABC.test_ABC_helper..C.fooNrrrr-rabstractmethodrrrrrrLsrcs eZdZefddZZS)z8test_factory..TestABC.test_ABC_helper..Dcs tSrrr(rrrrSsz.TestABC.test_ABC_helper..D.foor,rrrrrRsr)rABCr"typeABCMetar r!r)rrrrrrtest_ABC_helperJs  z-test_factory..TestABC.test_ABC_helpercSs6tjdd}||jdd}|t|ddS)NcSsdSrrrrrrrXszEtest_factory..TestABC.test_abstractmethod_basics..foocSsdSrrrrrrr [r zEtest_factory..TestABC.test_abstractmethod_basics..barr )rr7rr rr)rrr rrrtest_abstractmethod_basicsWs   z8test_factory..TestABC.test_abstractmethod_basicscs~ttjdd}||jdd}|t|ddGdddd |tGfd d d }| |j d dS) NcSsdSrrrrrrr_szGtest_factory..TestABC.test_abstractproperty_basics..foocSsdSrrrrrrr cr zGtest_factory..TestABC.test_abstractproperty_basics..barr Fc@seZdZeejddZdS)zEtest_factory..TestABC.test_abstractproperty_basics..CcSsdSr rrrrrrgszItest_factory..TestABC.test_abstractproperty_basics..C.fooN)rrrrrr7rrrrrrfsrrcs$eZdZjjfddZZS)zEtest_factory..TestABC.test_abstractproperty_basics..DcstjSrrrrrrrlszItest_factory..TestABC.test_abstractproperty_basics..D.foorrrrgetterrrrrrrksrr ) rrr7rr rr#r r!r"r)rrr rr%r?rr'^s   z:test_factory..TestABC.test_abstractproperty_basicscsttjdd}||jtdd}|t|ddGdddd }|t|Gd d d |}| | d | | d dS) NcSsdSrrr(rrrrqszJtest_factory..TestABC.test_abstractclassmethod_basics..foocSsdSrrr(rrrr uszJtest_factory..TestABC.test_abstractclassmethod_basics..barr Fc@seZdZeejddZdS)zHtest_factory..TestABC.test_abstractclassmethod_basics..CcSs|jSrr*r(rrrrzszLtest_factory..TestABC.test_abstractclassmethod_basics..C.fooNr6rrrrrysrrcs eZdZefddZZS)zHtest_factory..TestABC.test_abstractclassmethod_basics..Dcs tSrrr(rrrrszLtest_factory..TestABC.test_abstractclassmethod_basics..D.foor,rrrrr~sr) r-rr7rr rr#r r!r"rr$r%rrr.ps    z=test_factory..TestABC.test_abstractclassmethod_basicscsttjdd}||jtdd}|t|ddGdddd }|t|Gd d d |}| | d | | d dS) NcSsdSrrrrrrrszKtest_factory..TestABC.test_abstractstaticmethod_basics..foocSsdSrrrrrrr szKtest_factory..TestABC.test_abstractstaticmethod_basics..barr Fc@seZdZeejddZdS)zItest_factory..TestABC.test_abstractstaticmethod_basics..CcSsdSr rrrrrrszMtest_factory..TestABC.test_abstractstaticmethod_basics..C.fooN)rrrr3rr7rrrrrrsrrc@seZdZeddZdS)zItest_factory..TestABC.test_abstractstaticmethod_basics..DcSsdSr0rrrrrrszMtest_factory..TestABC.test_abstractstaticmethod_basics..D.fooNr2rrrrrsrr1) r3rr7rr rr#r r!r"rr$r%rrr4s    z>test_factory..TestABC.test_abstractstaticmethod_basicscs(Gdddd}d}|t||dS)Nc@seZdZejddZdS)zPtest_factory..TestABC.test_object_new_with_one_abstractmethod..CcSsdSrrrrrr method_onesz[test_factory..TestABC.test_object_new_with_one_abstractmethod..C.method_oneN)rrrrr7r@rrrrrsrrz'class C with abstract method method_oneassertRaisesRegexr!rrmsgr%rr'test_object_new_with_one_abstractmethodszEtest_factory..TestABC.test_object_new_with_one_abstractmethodcs(Gdddd}d}|t||dS)Nc@s(eZdZejddZejddZdS)zRtest_factory..TestABC.test_object_new_with_many_abstractmethods..CcSsdSrrrrrrr@sz]test_factory..TestABC.test_object_new_with_many_abstractmethods..C.method_onecSsdSrrrrrr method_twosz]test_factory..TestABC.test_object_new_with_many_abstractmethods..C.method_twoN)rrrrr7r@rFrrrrrs rrz4class C with abstract methods method_one, method_tworArCr%rr)test_object_new_with_many_abstractmethodsszGtest_factory..TestABC.test_object_new_with_many_abstractmethodscs tjtjtjtjfD]Gfdddd}||jdh|t|| t |Gddd|}||jdh|t|| t |Gddd|}||jt || t |Gfd d d |}||jd h|t|| t |qdS) Ncs eZdZddZddZdS)zHtest_factory..TestABC.test_abstractmethod_integration..CcSsdSrrrrrrrszLtest_factory..TestABC.test_abstractmethod_integration..C.foocSsdSrrrrrrr r zLtest_factory..TestABC.test_abstractmethod_integration..C.barN)rrrrr rZ abstractthingrrrs rrrc@seZdZddZdS)zHtest_factory..TestABC.test_abstractmethod_integration..DcSsdSrrrrrrr r zLtest_factory..TestABC.test_abstractmethod_integration..D.barNrrrr rrrrrsrc@seZdZddZdS)zHtest_factory..TestABC.test_abstractmethod_integration..EcSsdSrrrrrrrr zLtest_factory..TestABC.test_abstractmethod_integration..E.fooNrrrrrrrrEsrKcseZdZddZdS)zHtest_factory..TestABC.test_abstractmethod_integration..FcSsdSrrrrrrr szLtest_factory..TestABC.test_abstractmethod_integration..F.barNrIrrHrrFsrLr ) rr7rr+r/r"__abstractmethods__r r!rrsetr)rrrrKrLr%rHrtest_abstractmethod_integrations(   z=test_factory..TestABC.test_abstractmethod_integrationcsGdddd|tGfddd|tGfddd}||jdGd d d t|t$Gfd d d }Wdn1s0YdS) Nc@s2eZdZeejddZejejddZdS)zMtest_factory..TestABC.test_descriptors_with_abstractmethod..CcSsdSr rrrrrrszQtest_factory..TestABC.test_descriptors_with_abstractmethod..C.foocSsdSrrrvalrrrrsN)rrrrrr7rsetterrrrrrs  rrcs$eZdZjjfddZZS)zMtest_factory..TestABC.test_descriptors_with_abstractmethod..DcstjSrrrrrrrszQtest_factory..TestABC.test_descriptors_with_abstractmethod..D.foor=rr?rrrsrcseZdZjjddZdS)zMtest_factory..TestABC.test_descriptors_with_abstractmethod..EcSsdSrrrPrrrrszQtest_factory..TestABC.test_descriptors_with_abstractmethod..E.fooNrrrrrRrrrrrKsrKr c@seZdZddZeZdS)zStest_factory..TestABC.test_descriptors_with_abstractmethod..NotBoolcSs tdSr) ValueErrorrrrr__bool__sz\test_factory..TestABC.test_descriptors_with_abstractmethod..NotBool.__bool__N)rrrrV__len__rrrrNotBoolsrXcs$eZdZddZe_eeZdS)zMtest_factory..TestABC.test_descriptors_with_abstractmethod..FcSsdSrrrrrrr szQtest_factory..TestABC.test_descriptors_with_abstractmethod..F.barN)rrrr r rrr)rXrrrLsrL)r r!r"robjectrU)rrKrLr%)rrrXr$test_descriptors_with_abstractmethods   zBtest_factory..TestABC.test_descriptors_with_abstractmethodcszGfdddGfdddd|tGfddd|tGfdd d }||jjdS) Ncs:eZdZd ddZfddZfddZedd ZdS) z\test_factory..TestABC.test_customdescriptors_with_abstractmethod..DescriptorNcSs||_||_dSr)_fget_fset)rfgetfsetrrr__init__szetest_factory..TestABC.test_customdescriptors_with_abstractmethod..Descriptor.__init__cs ||jSrr[rcallable Descriptorrrr>szctest_factory..TestABC.test_customdescriptors_with_abstractmethod..Descriptor.gettercs |j|Srr`rarcrrrRszctest_factory..TestABC.test_customdescriptors_with_abstractmethod..Descriptor.settercSst|jddpt|jddS)Nr F)r#r[r\rrrrr s zqtest_factory..TestABC.test_customdescriptors_with_abstractmethod..Descriptor.__isabstractmethod__)N)rrrr_r>rRrr rrcrrrds    rdcs2eZdZejddZejejddZdS)zStest_factory..TestABC.test_customdescriptors_with_abstractmethod..CcSsdSr rrrrrrszWtest_factory..TestABC.test_customdescriptors_with_abstractmethod..C.foocSsdSrrrPrrrrsN)rrrrr7rrRrrcrrrs  rrcs$eZdZjjfddZZS)zStest_factory..TestABC.test_customdescriptors_with_abstractmethod..DcstjSrrrrrrrszWtest_factory..TestABC.test_customdescriptors_with_abstractmethod..D.foor=rr?rrrsrcseZdZjjddZdS)zStest_factory..TestABC.test_customdescriptors_with_abstractmethod..EcSsdSrrrPrrrrszWtest_factory..TestABC.test_customdescriptors_with_abstractmethod..E.fooNrSrrTrrrKsrK)r r!rrr )rrKr%)rrrdr*test_customdescriptors_with_abstractmethods   zHtest_factory..TestABC.test_customdescriptors_with_abstractmethodcsJGdddd}||jdhGdddt|}Gddd|d}dS) Nc@seZdZejddZdS)z;test_factory..TestABC.test_metaclass_abc..AcSsdSrrrrrrxsz=test_factory..TestABC.test_metaclass_abc..A.xN)rrrrr7rfrrrrAsrgrrfc@seZdZddZdS)z>test_factory..TestABC.test_metaclass_abc..metacSsdSNrrrrrrf sz@test_factory..TestABC.test_metaclass_abc..meta.xN)rrrrfrrrrmeta srjc@s eZdZdS)z;test_factory..TestABC.test_metaclass_abc..CNrrrrrrrrsr)r"rMr9)rrgrjrr%rrtest_metaclass_abcsz0test_factory..TestABC.test_metaclass_abccs Gdddd}Gdddt}|}|t|||t||f||||||f||}|t|||t||f||||||f|||Gddd|}|}|t|||t||f||||||fdS)Nc@s eZdZdS)zAtest_factory..TestABC.test_registration_basics..ANrkrrrrrgsrgrc@s eZdZdS)zAtest_factory..TestABC.test_registration_basics..BNrkrrrrBsrmc@s eZdZdS)zAtest_factory..TestABC.test_registration_basics..CNrkrrrrr!sr)rYr issubclassZassertNotIsInstanceregisterrassertIsInstanceassertIs)rrgrmbB1rcr%rrtest_registration_basicss&     z6test_factory..TestABC.test_registration_basicscsGdddd}|jGdddt}|}|t|||t||f||||||f|jGddd|}|}|t|||t||f||||||f||||dS)Nc@s eZdZdS)zDtest_factory..TestABC.test_register_as_class_deco..ANrkrrrrrg*srgrc@s eZdZdS)zDtest_factory..TestABC.test_register_as_class_deco..BNrkrrrrrm,srmc@s eZdZdS)zDtest_factory..TestABC.test_register_as_class_deco..CNrkrrrrr4sr)rorYrrnrprq)rrgrmrrrrtr%rrtest_register_as_class_deco)s   z9test_factory..TestABC.test_register_as_class_decocsGdddd}Gddd}|}|t|||t||f}||}||||t|||t||fdS)Nc@s eZdZdS)zEtest_factory..TestABC.test_isinstance_invalidation..ANrkrrrrrg?srgrc@s eZdZdS)zEtest_factory..TestABC.test_isinstance_invalidation..BNrkrrrrrmAsrm)r isinstanceroZ assertGreaterr)rrgrmrrZ token_oldZ token_newr&abc_get_cache_tokenrrtest_isinstance_invalidation>s  z:test_factory..TestABC.test_isinstance_invalidationcsGdddd}|t|d||d|f|tt||tt|fGddd|}|tGdddt}|d ||d |f|tt||tt|f|t|||t||fdS) Nc@s eZdZdS)zCtest_factory..TestABC.test_registration_builtins..ANrkrrrrrgNsrgr*c@s eZdZdS)zCtest_factory..TestABC.test_registration_builtins..BNrkrrrrrmUsrmc@s eZdZdS)zCtest_factory..TestABC.test_registration_builtins..CNrkrrrrrXr r)rointrprrnstr)rrgrmrr%rrtest_registration_builtinsMs    z8test_factory..TestABC.test_registration_builtinscsGdddd}||Gddd|}|t|j|Gdddt}||||Gdd d |}|||t|j|||dS) Nc@s eZdZdS)zEtest_factory..TestABC.test_registration_edge_cases..ANrkrrrrrgasrgrc@s eZdZdS)zFtest_factory..TestABC.test_registration_edge_cases..A1NrkrrrrA1dsrc@s eZdZdS)zEtest_factory..TestABC.test_registration_edge_cases..BNrkrrrrrmgsrmc@s eZdZdS)zEtest_factory..TestABC.test_registration_edge_cases..CNrkrrrrrksr)ror RuntimeErrorrY)rrgrrmrr%rrtest_registration_edge_cases`s    z:test_factory..TestABC.test_registration_edge_casescs(Gdddd}|td|jddS)Nc@s eZdZdS)z@test_factory..TestABC.test_register_non_class..ANrkrrrrrgrsrgrzCan only register classesr1)rBr!ro)rrgr%rrtest_register_non_classqsz5test_factory..TestABC.test_register_non_classcsGdddd}|t|||t||fGdddd}|t|||t||f|t|||t||fGdddd}||Gdd d |}|t|||t||fGd d d |}|||t|||t||f|t|||t||f|t|||t||f|t|||t||f|t|||t||f|tGd d d t}|t|||t||f|d||d|fdS)Nc@s eZdZdS)zItest_factory..TestABC.test_registration_transitiveness..ANrkrrrrrgxsrgrc@s eZdZdS)zItest_factory..TestABC.test_registration_transitiveness..BNrkrrrrrm|srmc@s eZdZdS)zItest_factory..TestABC.test_registration_transitiveness..CNrkrrrrrsrc@s eZdZdS)zJtest_factory..TestABC.test_registration_transitiveness..B1Nrkrrrrrssrsc@s eZdZdS)zJtest_factory..TestABC.test_registration_transitiveness..C1NrkrrrrC1src@s eZdZdS)zMtest_factory..TestABC.test_registration_transitiveness..MyIntNrkrrrrMyIntsrr{)rrnrror}rp)rrgrmrrsrrr%rr test_registration_transitivenessws>    z>test_factory..TestABC.test_registration_transitivenessc sGdddd}|tti|Wdn1s<0Y|ttd|Wdn1sp0YGddd}|tt||Wdn1s0Ydddd dd dg}t|D]\}Gfd d d d}|j|d F|ttt|Wdn1s60YWdq1sV0YqdfddGfdd d d}|ttt|Wdn1s0YdS)Nc@s eZdZdS)zFtest_factory..TestABC.test_issubclass_bad_arguments..ANrkrrrrrgsrgrr{c@seZdZdZdS)zFtest_factory..TestABC.test_issubclass_bad_arguments..Cr{N)rrr__mro__rrrrrsrcSsgSrr)rfrrrr zMtest_factory..TestABC.test_issubclass_bad_arguments..cSsdSNr{rrrrrrr cSsdgSrrrrrrrr cseZdZZdSzFtest_factory..TestABC.test_issubclass_bad_arguments..SNrrr__subclasses__r)funcrrSsr)izexception from __subclasses__cs tdSr) Exceptionr)exc_msgrr raise_excszNtest_factory..TestABC.test_issubclass_bad_arguments..raise_exccseZdZZdSrrr)rrrrs)r r!rn enumerateZsubTestr}rBr)rrgrZbogus_subclassesrrr%)rrrrtest_issubclass_bad_argumentss. ( ( * L z;test_factory..TestABC.test_issubclass_bad_argumentscsGfdddtjd|t|tfGddd}|t||t|fGddd}|t||t|fdS)NcseZdZefddZdS)z:test_factory..TestABC.test_subclasshook..Acs|urd|jvStS)Nr)__dict__NotImplemented)r)rrgrr__subclasshook__s zKtest_factory..TestABC.test_subclasshook..A.__subclasshook__N)rrrr-rrrrrrgsrgrc@seZdZdZdS)z:test_factory..TestABC.test_subclasshook..Br{NrJrrrrrmsrmc@seZdZdZdS)z:test_factory..TestABC.test_subclasshook..Cr{N)rrrZspamrrrrrsr)rr:rrnr)rrmrrrrtest_subclasshooksz/test_factory..TestABC.test_subclasshookcs^Gdddd}GfdddtGddd|}|jd||jd dS) Nc@s eZdZdS)zHtest_factory..TestABC.test_all_new_methods_are_called..ANrkrrrrrgsrgrcs"eZdZdZfddZZS)zHtest_factory..TestABC.test_all_new_methods_are_called..Brcsjd7_t|Srh)counterr__new__r()rmrrrrszPtest_factory..TestABC.test_all_new_methods_are_called..B.__new__)rrrrrrrrmrrrmsrmc@s eZdZdS)zHtest_factory..TestABC.test_all_new_methods_are_called..CNrkrrrrrsrrri)rYr"r)rrgrr%rrtest_all_new_methods_are_calleds z=test_factory..TestABC.test_all_new_methods_are_calledcSs|ttjddS)N __slots__)rrrr8rrrrtest_ABC_has___slots__sz4test_factory..TestABC.test_ABC_has___slots__csNdd}Gddd}Gddd}Gddd|||}||jdS) Ncs&Gfdddt}t|ddiS)NcseZdZfddZdS)z^test_factory..TestABC.test_tricky_new_works..with_metaclass..metaclasscs ||Srr)r)nameZ this_basesdbasesrjrrrszftest_factory..TestABC.test_tricky_new_works..with_metaclass..metaclass.__new__N)rrrrrrrrrsrZtemporary_classr)r9r)rjrrrrrwith_metaclassszKtest_factory..TestABC.test_tricky_new_works..with_metaclassc@s eZdZdS)z>test_factory..TestABC.test_tricky_new_works..ANrkrrrrrgr rgc@s eZdZdS)z>test_factory..TestABC.test_tricky_new_works..BNrkrrrrrmr rmc@s eZdZdS)z>test_factory..TestABC.test_tricky_new_works..CNrkrrrrrsr)r"r)rrrgrmrr%rrtest_tricky_new_workss z3test_factory..TestABC.test_tricky_new_worksN)rrrr;r<r'r.r4rErGrOrZrerlrurvrzrrrrrrrrrrrxrrTestABCHs.              ' 0 rcseZdZfddZdS)z-test_factory..TestABCWithInitSubclassc s\Gdddd}iGfddd}Gddd||dd d d }|tdd d d dS) Nc@seZdZdZdS)z\test_factory..TestABCWithInitSubclass.test_works_with_init_subclass..abc_ABCrN)rrrrrrrrabc_ABCsrrcseZdZfddZZS)zhtest_factory..TestABCWithInitSubclass.test_works_with_init_subclass..ReceivesClassKwargscst|dSr)r__init_subclass__update)r)kwargs)r saved_kwargsrrrs zztest_factory..TestABCWithInitSubclass.test_works_with_init_subclass..ReceivesClassKwargs.__init_subclass__)rrrrrrrrrReceivesClassKwargssrc@s eZdZdS)z]test_factory..TestABCWithInitSubclass.test_works_with_init_subclass..ReceiverNrkrrrrReceiversrrir )rfyz)r"dict)rrrrr%rrtest_works_with_init_subclasss zKtest_factory..TestABCWithInitSubclass.test_works_with_init_subclassN)rrrrrr%rrTestABCWithInitSubclasssr)unittestZTestCase)r&ryr5rrrrxr test_factorys89 r__main__)__doc__rrZ_py_abcinspectrrr:get_cache_tokenZTestLegacyAPI_PyZ TestABC_PyZTestABCWithInitSubclass_PyZTestLegacyAPI_CZ TestABC_CZTestABCWithInitSubclass_Crmainrrrrs"