python (3.11.7)

(root)/
lib/
python3.11/
test/
__pycache__/
test_genericclass.cpython-311.opt-2.pyc

e%ddlZddlmZGddejZGddejZejGddejZed	krej	dSdS)
N)supportcDeZdZdZdZdZdZdZdZdZ	dZ
d	Zd
S)TestMROEntrycgGdd}Gfdd}|gGdd||}|d||ff|didS)	NceZdZdS)0TestMROEntry.test_mro_entry_signature.<locals>.BN__name__
__module____qualname__J/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/test/test_genericclass.pyBrrrceZdZfdZdS)0TestMROEntry.test_mro_entry_signature.<locals>.Cc8||gfSNextend)selfargskwargsCtesteds   r__mro_entries__z@TestMROEntry.test_mro_entry_signature.<locals>.C.__mro_entries__
s 

tVn---trNr
rrrrrsrrr	3







rrceZdZdS)0TestMROEntry.test_mro_entry_signature.<locals>.DNr	r
rrDr"rrr#r)assertEqual)rrcr#rrs    @@rtest_mro_entry_signaturez%TestMROEntry.test_mro_entry_signatures											
ACC$$$1aVI...B'''''rc`gGdd}Gdd}Gfdd}|}|gGdd|||}|d	|||f||j|||f||j|||f||j||||tf|}Gd
d|}|d	|f||j|fdS)NceZdZdS)&TestMROEntry.test_mro_entry.<locals>.ANr	r
rrAr*rrr+ceZdZdS)&TestMROEntry.test_mro_entry.<locals>.BNr	r
rrrr-rrrceZdZfdZdS)&TestMROEntry.test_mro_entry.<locals>.Cc>||jfSr)append	__class__rbasesrs  rrz6TestMROEntry.test_mro_entry.<locals>.C.__mro_entries__s 

e$$$((rNrrsrrr/s.
)
)
)
)
)
)
)rrceZdZdS)&TestMROEntry.test_mro_entry.<locals>.DNr	r
rrr#r7rrr#ceZdZdS)&TestMROEntry.test_mro_entry.<locals>.ENr	r
rrEr:#rrr;r%	__bases____orig_bases____mro__object)	rr+rrr&r#dr;rs	        @rtest_mro_entryzTestMROEntry.test_mro_entrysw	)	)	)	)	)	)	)	)	)	)
ACC$$$1aaAY///q!Qi000)Aq!9555Q1a$8999
ACCaT***qd+++++rcgGdd}Gdd}Gfdd}|}|gGdd|||}|d	|||f||j||f||j|||f||j|||tfGd
d|}|d	|f||jtf||j|f||j|tfdS)NceZdZdS)+TestMROEntry.test_mro_entry_none.<locals>.ANr	r
rrr+rE)rrr+ceZdZdS)+TestMROEntry.test_mro_entry_none.<locals>.BNr	r
rrrrG*rrrceZdZfdZdS)+TestMROEntry.test_mro_entry_none.<locals>.Cc2|dSNr
r1r3s  rrz;TestMROEntry.test_mro_entry_none.<locals>.C.__mro_entries__,s

e$$$rrNrr5srrrI+s.






rrceZdZdS)+TestMROEntry.test_mro_entry_none.<locals>.DNr	r
rrr#rN1rrr#r8ceZdZdS)+TestMROEntry.test_mro_entry_none.<locals>.ENr	r
rrr;rP6rrr;r<)rr+rrr&r#r;rs       @rtest_mro_entry_nonez TestMROEntry.test_mro_entry_none's										
ACC$$$1aaAY///q!f---)Aq!9555Q1f$5666aT***vi000)A4000QK00000rcgGdd}Gfdd}|}|gGdd||}|d||f||j|tf||j||f||j||tt
fdS)NceZdZdS)4TestMROEntry.test_mro_entry_with_builtins.<locals>.ANr	r
rrr+rT>rrr+ceZdZfdZdS)4TestMROEntry.test_mro_entry_with_builtins.<locals>.Cc>|tfSr)r1dictr3s  rrzDTestMROEntry.test_mro_entry_with_builtins.<locals>.C.__mro_entries__@s

e$$$wrNrr5srrrV?s.






rrceZdZdS)4TestMROEntry.test_mro_entry_with_builtins.<locals>.DNr	r
rrr#rZErrr#r8)r%r=rXr>r?r@)rr+rr&r#rs     @rtest_mro_entry_with_builtinsz)TestMROEntry.test_mro_entry_with_builtins<s										
ACC$$$1aV,,,q$i000)Aq6222Q4$899999rcgGfdd}|gGdd|t}|d|tf||jtf||j|tf||j|tt
fdS)NceZdZfdZdS)6TestMROEntry.test_mro_entry_with_builtins_2.<locals>.Cc4|fSrrL)rr4rrs  rrzFTestMROEntry.test_mro_entry_with_builtins_2.<locals>.C.__mro_entries__Ns

e$$$trNrrsrrr^Mr rrceZdZdS)6TestMROEntry.test_mro_entry_with_builtins_2.<locals>.DNr	r
rrr#raSrrr#r8)r%rXr=r>r?r@)rr&r#rrs   @@rtest_mro_entry_with_builtins_2z+TestMROEntry.test_mro_entry_with_builtins_2Ks											
ACC$$$4aY///q$i000)At9555Q4$899999rcdGdd}|}|t5Gdd|}dddn#1swxYwYGdd}|}|t5Gdd|}ddddS#1swxYwYdS)	NceZdZdZdS)6TestMROEntry.test_mro_entry_errors.<locals>.C_too_manycdSrKr
)rr4	somethingothers    rrzFTestMROEntry.test_mro_entry_errors.<locals>.C_too_many.__mro_entries__[rrNrr
rr
C_too_manyreZ#




rrjceZdZdS)-TestMROEntry.test_mro_entry_errors.<locals>.DNr	r
rrr#rm_rrr#ceZdZdZdS)5TestMROEntry.test_mro_entry_errors.<locals>.C_too_fewcdSrKr
rs rrzETestMROEntry.test_mro_entry_errors.<locals>.C_too_few.__mro_entries__arirNrr
rr	C_too_fewro`rkrrrceZdZdS)-TestMROEntry.test_mro_entry_errors.<locals>.ENr	r
rrr;rterrr;assertRaises	TypeError)rrjr&r#rrrAr;s       rtest_mro_entry_errorsz"TestMROEntry.test_mro_entry_errorsYss								
JLL


y
)
)		OOOOAOOO																							
IKK


y
)
)		OOOOAOOO																		#A

AA	B%%B),B)cdGdd}|}|t5Gdd|}dddn#1swxYwYGdd}|}|t5Gdd|}ddddS#1swxYwYdS)	NceZdZdZdS)<TestMROEntry.test_mro_entry_errors_2.<locals>.C_not_callable	Surprise!Nrr
rrC_not_callabler|hs)OOOrr~ceZdZdS)/TestMROEntry.test_mro_entry_errors_2.<locals>.DNr	r
rrr#rlrrr#ceZdZdZdS)9TestMROEntry.test_mro_entry_errors_2.<locals>.C_not_tuplectSr)r@rqs rrzITestMROEntry.test_mro_entry_errors_2.<locals>.C_not_tuple.__mro_entries__ns
rNrr
rrC_not_tuplerms#




rrceZdZdS)/TestMROEntry.test_mro_entry_errors_2.<locals>.ENr	r
rrr;rrrrr;ru)rr~r&r#rr;s      rtest_mro_entry_errors_2z$TestMROEntry.test_mro_entry_errors_2gss	*	*	*	*	*	*	*	*N


y
)
)		OOOOAOOO																							
KMM


y
)
)		OOOOAOOO																		ryc~gGfddt}GddGfdd}|}Gdd||	}|d
||dd|df|d
dd||jf||j|f||j|t
f||j|dS)Nc"eZdZfdZxZS)3TestMROEntry.test_mro_entry_metaclass.<locals>.Metac~||||gt||||Sr)rsuper__new__)mclsnamer4nsr2	meta_argss    rrz;TestMROEntry.test_mro_entry_metaclass.<locals>.Meta.__new__ws<  $eR!8999wwtT5"===r)r
rrr
__classcell__)r2rs@rMetarvs>
>
>
>
>
>
>
>
>
>
>rrceZdZdS)0TestMROEntry.test_mro_entry_metaclass.<locals>.ANr	r
rrr+rzrrr+ceZdZfdZdS)0TestMROEntry.test_mro_entry_metaclass.<locals>.Cc
fSrr
)rr4r+s  rrz@TestMROEntry.test_mro_entry_metaclass.<locals>.C.__mro_entries__|s
trNr)r+srrr{s.






rrceZdZdZdS)0TestMROEntry.test_mro_entry_metaclass.<locals>.Dr$N)r
rrxr
rrr#rsAAArr#	metaclassrr$r)typer%r=r>r?r@r2)rrrr&r#r+rs     @@rtest_mro_entry_metaclassz%TestMROEntry.test_mro_entry_metaclassts		>	>	>	>	>	>	>4	>	>	>											
ACC					T				1t,,,1s+++1t,,,1c*A...qd+++)A4000Q6N333d+++++rcGdd}|}|td5td|fiddddS#1swxYwYdS)NceZdZdZdS)0TestMROEntry.test_mro_entry_type_call.<locals>.CcdSrKr
)rr4s  rrz@TestMROEntry.test_mro_entry_type_call.<locals>.C.__mro_entries__rirNrr
rrrrrkrrz+MRO entry resolution; use types.new_class()Bad)assertRaisesRegexrwr)rrr&s   rtest_mro_entry_type_callz%TestMROEntry.test_mro_entry_type_calls								
ACC

#
#I%<==	"	"
b!!!	"	"	"	"	"	"	"	"	"	"	"	"	"	"	"	"	"	"sAAAN)r
rrr'rBrQr[rbrxrrrr
rrrrs(((,,,(111*
:
:
::::,,,,	"	"	"	"	"rrcVeZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
S)TestClassGetitemcgGfdd}|ttf|d|ttff|didS)NceZdZfdZdS).TestClassGetitem.test_class_getitem.<locals>.Cc6||gdSrr)rrgetitem_argss  r__class_getitem__z@TestClassGetitem.test_class_getitem.<locals>.C.__class_getitem__s ##T6N333trNr
rrr)rsrrrs.






rrrr$)intstrr%)rrrs  @rtest_class_getitemz#TestClassGetitem.test_class_getitems											
#s(a1sCj/:::a"-----rcGdd}||td|||ddS)NceZdZdZdS)5TestClassGetitem.test_class_getitem_format.<locals>.Ccd|jdS)NzC[]r
clsitems  rrzGTestClassGetitem.test_class_getitem_format.<locals>.C.__class_getitem__s,DM,,,,rNrr
rrrr#
-
-
-
-
-rrC[int]zC[C]r%r)rrs  rtest_class_getitem_formatz*TestClassGetitem.test_class_getitem_formatsf	-	-	-	-	-	-	-	-	
3***1v&&&&&rcGdd}Gdd|}||td|||ddS)NceZdZdZdS):TestClassGetitem.test_class_getitem_inheritance.<locals>.Cc&|jd|jdSN[rrrs  rrzLTestClassGetitem.test_class_getitem_inheritance.<locals>.C.__class_getitem__,999999rNrr
rrrr#
:
:
:
:
:rrceZdZdS):TestClassGetitem.test_class_getitem_inheritance.<locals>.DNr	r
rrr#rrrr#D[int]D[D]rrrr#s   rtest_class_getitem_inheritancez/TestClassGetitem.test_class_getitem_inheritancesy	:	:	:	:	:	:	:	:	3***1v&&&&&rcGdd}Gdd|}||td|||ddS)NceZdZdZdS)<TestClassGetitem.test_class_getitem_inheritance_2.<locals>.CcdS)NzShould not see thisr
rs  rrzNTestClassGetitem.test_class_getitem_inheritance_2.<locals>.C.__class_getitem__s,,rNrr
rrrrrrrceZdZdZdS)<TestClassGetitem.test_class_getitem_inheritance_2.<locals>.Dc&|jd|jdSrrrs  rrzNTestClassGetitem.test_class_getitem_inheritance_2.<locals>.D.__class_getitem__rrNrr
rrr#rrrr#rrrrs   r test_class_getitem_inheritance_2z1TestClassGetitem.test_class_getitem_inheritance_2s	-	-	-	-	-	-	-	-	:	:	:	:	:	:	:	:	
3***1v&&&&&rcGdd}Gdd|}||td|||ddS)Nc$eZdZedZdS):TestClassGetitem.test_class_getitem_classmethod.<locals>.Cc&|jd|jdSrrrs  rrzLTestClassGetitem.test_class_getitem_classmethod.<locals>.C.__class_getitem__s,999999rN)r
rrclassmethodrr
rrrrs-

:
:[
:
:
:rrceZdZdS):TestClassGetitem.test_class_getitem_classmethod.<locals>.DNr	r
rrr#rrrr#rrrrs   rtest_class_getitem_classmethodz/TestClassGetitem.test_class_getitem_classmethodsy	:	:	:	:	:	:	:	:	3***1v&&&&&rcGdd}Gdd|}||td|||ddS)NceZdZdZdS)6TestClassGetitem.test_class_getitem_patched.<locals>.Cc4d}t||_dS)Nc&|jd|jdSrrrs  rrzcTestClassGetitem.test_class_getitem_patched.<locals>.C.__init_subclass__.<locals>.__class_getitem__s!l==T]====r)rr)rrs  r__init_subclass__zHTestClassGetitem.test_class_getitem_patched.<locals>.C.__init_subclass__s(>>>(34E(F(F%%%rN)r
rrrr
rrrrs(
G
G
G
G
GrrceZdZdS)6TestClassGetitem.test_class_getitem_patched.<locals>.DNr	r
rrr#rrrr#rrrrs   rtest_class_getitem_patchedz+TestClassGetitem.test_class_getitem_patcheds	G	G	G	G	G	G	G	G
	3***1v&&&&&rcGddt}Gdd|}||jd|t||jtdS)NceZdZdZdZdS)<TestClassGetitem.test_class_getitem_with_builtins.<locals>.ANc||_dSr)called_withrs  rrzNTestClassGetitem.test_class_getitem_with_builtins.<locals>.A.__class_getitem__s
"&r)r
rrrrr
rrr+rs(K
'
'
'
'
'rr+ceZdZdS)<TestClassGetitem.test_class_getitem_with_builtins.<locals>.BNr	r
rrrrDrr)rXassertIsrr)rr+rs   r test_class_getitem_with_builtinsz1TestClassGetitem.test_class_getitem_with_builtinss	'	'	'	'	'	'	'	'
								

amT***	#

amS)))))rc8Gdd}|t5|tdddn#1swxYwYGdd}|t5|tddddS#1swxYwYdS)NceZdZdZdS)=TestClassGetitem.test_class_getitem_errors.<locals>.C_too_fewcdSrr
)rs rrzOTestClassGetitem.test_class_getitem_errors.<locals>.C_too_few.__class_getitem__trNrr
rrrrr#




rrrceZdZdZdS)>TestClassGetitem.test_class_getitem_errors.<locals>.C_too_manycdSrr
)ronetwos   rrzPTestClassGetitem.test_class_getitem_errors.<locals>.C_too_many.__class_getitem__rrNrr
rrrjrrrrj)rvrwr)rrrrjs   rtest_class_getitem_errorsz*TestClassGetitem.test_class_getitem_errorssI								

y
)
)		cNN																							

y
)
)		sOO																		s#AA	A4BBBcGdd}|t5|tdddn#1swxYwYGdd}|}d|_|t5|tdddn#1swxYwYGdd}|t5|tdddn#1swxYwYGdd	t}|td	5|tddddS#1swxYwYdS)
NceZdZdZdS)7TestClassGetitem.test_class_getitem_errors_2.<locals>.CcdSrr
rs  rrzITestClassGetitem.test_class_getitem_errors_2.<locals>.C.__class_getitem__rrNrr
rrrrrrrceZdZdS)7TestClassGetitem.test_class_getitem_errors_2.<locals>.ENr	r
rrr;rrrr;cdS)NzThis will not workr
rs  r<lambda>z>TestClassGetitem.test_class_getitem_errors_2.<locals>.<lambda>s0DrceZdZdZdS)DTestClassGetitem.test_class_getitem_errors_2.<locals>.C_not_callabler}Nrr
rrr~rs +rr~ceZdZdZdS)?TestClassGetitem.test_class_getitem_errors_2.<locals>.C_is_noneNrr
rr	C_is_noner
s $rr)rvrwrrtupler)rrr;er~rs      rtest_class_getitem_errors_2z,TestClassGetitem.test_class_getitem_errors_2s								

y
)
)		
ACCHH																
ACCDD


y
)
)		
cFF																,	,	,	,	,	,	,	,


y
)
)	 	 3	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	%	%	%	%	%	%	%	%

#
#I{
;
;		cNN																		sGA

AAB((B,/B,C44C8;C8-EEEcnGddt}||tddS)NceZdZdZdS);TestClassGetitem.test_class_getitem_metaclass.<locals>.Metac&|jd|jdSrrrs  rrzMTestClassGetitem.test_class_getitem_metaclass.<locals>.Meta.__class_getitem__rrNrr
rrrrrrrz	Meta[int]rr%r)rrs  rtest_class_getitem_metaclassz-TestClassGetitem.test_class_getitem_metaclasssN	:	:	:	:	:4	:	:	:	
cK00000rcGddt}Gdd|}||tddS)NceZdZdS)@TestClassGetitem.test_class_getitem_with_metaclass.<locals>.MetaNr	r
rrrrrrrceZdZdZdS)=TestClassGetitem.test_class_getitem_with_metaclass.<locals>.Cc&|jd|jdSrrrs  rrzOTestClassGetitem.test_class_getitem_with_metaclass.<locals>.C.__class_getitem__rrNrr
rrrrrrrrrrrrrs   r!test_class_getitem_with_metaclassz2TestClassGetitem.test_class_getitem_with_metaclasssm4	:	:	:	:	:$	:	:	:	:	
3*****rcGddt}Gdd|}||tddS)NceZdZdZdS)ATestClassGetitem.test_class_getitem_metaclass_first.<locals>.MetacdS)Nfrom metaclassr
rs  r__getitem__zMTestClassGetitem.test_class_getitem_metaclass_first.<locals>.Meta.__getitem__s''rN)r
rrr"r
rrrrs#
(
(
(
(
(rrceZdZdZdS)>TestClassGetitem.test_class_getitem_metaclass_first.<locals>.CcdS)Nzfrom __class_getitem__r
rs  rrzPTestClassGetitem.test_class_getitem_metaclass_first.<locals>.C.__class_getitem__s//rNrr
rrrr$s#
0
0
0
0
0rrrr!rrs   r"test_class_getitem_metaclass_firstz3TestClassGetitem.test_class_getitem_metaclass_first
s~	(	(	(	(	(4	(	(	(	0	0	0	0	0$	0	0	0	0	
3!122222rN)r
rrrrrrrrrrrrrr&r
rrrrs...'''''''''''''''
*
*
*.111+++33333rrceZdZdZdS)CAPITestcddlm}m}||t
||t
}|t||||	dt
fGdd|}||j
t
f||j|f||j|t
tfdS)Nr)GenericGenericAliasr
ceZdZdS) CAPITest.test_c_class.<locals>.CNr	r
rrrr-rrr)	_testcapir*r+assertIsInstancerrrrr%rr=r>r?r@)rr*r+
IntGenericrs     rtest_c_classzCAPITest.test_c_classs
33333333g77<<lKKKS\


d:&&55533B77#@@@					
			sf---)J=999QV$455555rN)r
rrr1r
rrr(r(s#66666rr(__main__)
unittesttestrTestCaserrcpython_onlyr(r
mainr
rr<module>r8sN"N"N"N"N"8$N"N"N"b{3{3{3{3{3x({3{3{3|	
6
6
6
6
6x 
6
6
6 zHMOOOOOr