python (3.11.7)

(root)/
lib/
python3.11/
test/
__pycache__/
test_call.cpython-311.pyc

eJjddlZddlmZ	ddlZn
#e$rdZYnwxYwddlZddlZddlZddlZddl	Z	Gdde
ZGddejZ
eGddejZGd	d
ejZGddeZGd
deZGddeZGddeZdZdZGddZeZeZGddejZdZdZdZdZGddejZGdd Z eGd!d"ejZ!e"d#krej#dSdS)$N)cpython_onlyceZdZdZdZdS)BadStrcdS)NT)selfothers  B/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/test/test_call.py__eq__z
BadStr.__eq__stc<t|dzS)N)str__hash__rs r
rzBadStr.__hash__s||D!!A%%rN)__name__
__module____qualname__rrrrr
rrs2&&&&&rrceZdZdZdZdS)
FunctionCallscTtjddg}|dt|}d}|di|}||t|t||dS)N)a)brc|SNr)kws r
fnz+FunctionCalls.test_kwargs_order.<locals>.fnsIrr)collectionsOrderedDictmove_to_endlistitemsassertIsInstancedictassertEqual)rodexpectedrress     r
test_kwargs_orderzFunctionCalls.test_kwargs_orders

$h%9
:
:
s

##			bhh2hhc4(((ciikk**H55555rchd}tdD]}	|d#t$rYwxYwdS)NcdSrrrrr
fzBFunctionCalls.test_frames_are_popped_after_failed_calls.<locals>.f(sDri)range	TypeError)rr._s   r
)test_frames_are_popped_after_failed_callsz7FunctionCalls.test_frames_are_popped_after_failed_calls%sd			t		A
$



		s"
//N)rrrr+r2rrr
rrs2666					rrceZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!Z#d"Z$d#Z%d$S)%CFunctionCallsErrorMessagescLd}|t|ijdS)Nz7__contains__\(\) takes exactly one argument \(0 given\)assertRaisesRegexr0__contains__rmsgs  r

test_varargs0z)CFunctionCallsErrorMessages.test_varargs05s'Hy#r?????rcPd}|t|ijdddS)Nz7__contains__\(\) takes exactly one argument \(2 given\)rrr6r9s  r

test_varargs2z)CFunctionCallsErrorMessages.test_varargs29s+Hy#r1EEEEErc\d}|t|tjddddS)Nz@^from_bytes\(\) takes at most 2 positional arguments \(3 given\)alittleF)r7r0int
from_bytesr9s  r

test_varargs3z)CFunctionCallsErrorMessages.test_varargs3=s-Qy#s~tXuUUUUUrcd}|t|ijd}|t|ijdS)Nz'get expected at least 1 argument, got 0zexpected 1 argument, got 0)r7r0get__delattr__r9s  r
test_varargs1minz,CFunctionCallsErrorMessages.test_varargs1minAsF8y#rv666+y#r~>>>>>rcLd}|t|tdS)Nz,getattr expected at least 2 arguments, got 0r7r0getattrr9s  r
test_varargs2minz,CFunctionCallsErrorMessages.test_varargs2minHs%=y#w77777rcPd}|t|tdddS)Nz(input expected at most 1 argument, got 2rr)r7r0inputr9s  r
test_varargs1maxz,CFunctionCallsErrorMessages.test_varargs1maxLs)9y#ua;;;;;rcRd}|t|ijddddS)Nz'get expected at most 2 arguments, got 3rrr)r7r0rEr9s  r
test_varargs2maxz,CFunctionCallsErrorMessages.test_varargs2maxPs-8y#rvq!Q?????rcPd}|t|ijddS)N+__contains__\(\) takes no keyword argumentsrxr6r9s  r
test_varargs1_kwz,CFunctionCallsErrorMessages.test_varargs1_kwTs,<y#r!DDDDDrcRd}|t|ijdddS)NrRrrTyr6r9s  r
test_varargs2_kwz,CFunctionCallsErrorMessages.test_varargs2_kwXs.<y#r!qIIIIIrcPd}|t|tddS)Nz#bool\(\) takes no keyword argumentsrrS)r7r0boolr9s  r
test_varargs3_kwz,CFunctionCallsErrorMessages.test_varargs3_kw\s*4y#tq99999rcPd}|t|gjddS)Nz-^list[.]index\(\) takes no keyword arguments$rrS)r7r0indexr9s  r
test_varargs4_kwz,CFunctionCallsErrorMessages.test_varargs4_kw`s,>y#rx1=====rcPd}|t|tddS)Nz(^hasattr\(\) takes no keyword arguments$rrS)r7r0hasattrr9s  r
test_varargs5_kwz,CFunctionCallsErrorMessages.test_varargs5_kwd*9y#w!<<<<<rcPd}|t|tddS)Nz(^getattr\(\) takes no keyword arguments$rrSrIr9s  r
test_varargs6_kwz,CFunctionCallsErrorMessages.test_varargs6_kwhrcrcPd}|t|tddS)Nz%^next\(\) takes no keyword arguments$rrS)r7r0nextr9s  r
test_varargs7_kwz,CFunctionCallsErrorMessages.test_varargs7_kwls*6y#tq99999rcZd}|t|tjddS)Nz/^_struct[.]pack\(\) takes no keyword arguments$rrS)r7r0structpackr9s  r
test_varargs8_kwz,CFunctionCallsErrorMessages.test_varargs8_kwps,@y#v{a@@@@@rcZd}|t|tjddS)Nz4^_struct[.]pack_into\(\) takes no keyword arguments$rrS)r7r0rj	pack_intor9s  r
test_varargs9_kwz,CFunctionCallsErrorMessages.test_varargs9_kwts-Ey#v/?1EEEEErcrd}|t|tjjddS)Nz.^deque[.]index\(\) takes no keyword arguments$rrS)r7r0r dequer^r9s  r
test_varargs10_kwz-CFunctionCallsErrorMessages.test_varargs10_kwxs6?y#{/@/B/B/HANNNNNrcd}|t|tjjtjdddS)Nz.^Struct[.]pack\(\) takes no keyword arguments$rrS)r7r0rjStructrkr9s  r
test_varargs11_kwz-CFunctionCallsErrorMessages.test_varargs11_kw|s=?y#v}/A6=QSCTCTXYZZZZZrcZd}|t|ttdS)Nz-^staticmethod\(\) takes no keyword arguments$func)r7r0staticmethodidr9s  r
test_varargs12_kwz-CFunctionCallsErrorMessages.test_varargs12_kws*>y#|"EEEEErcZd}|t|ttdS)Nz,^classmethod\(\) takes no keyword arguments$rx)r7r0classmethodr{r9s  r
test_varargs13_kwz-CFunctionCallsErrorMessages.test_varargs13_kws*=y#{DDDDDrc^d}|t|tjddddS)Nz:^product\(\) takes at most 1 keyword argument \(2 given\)$rrr)repeatfoo)r7r0	itertoolsproductr9s  r
test_varargs14_kwz-CFunctionCallsErrorMessages.test_varargs14_kwsCKy#(0!A1		F	F	F	F	Frc	Vd}|t|tdddddS)Nz?^ImportError\(\) takes at most 2 keyword arguments \(3 given\)$rrrr)namepathr)r7r0ImportErrorr9s  r
test_varargs15_kwz-CFunctionCallsErrorMessages.test_varargs15_kwsBPy#*AAA1		F	F	F	F	Frc	Vd}|t|tdddddS)Nz7^min\(\) takes at most 2 keyword arguments \(3 given\)$rrrr)defaultkeyr)r7r0minr9s  r
test_varargs16_kwz-CFunctionCallsErrorMessages.test_varargs16_kwsBHy#"AqaQ		@	@	@	@	@rcZd}|t|tdddddd		dS)	Nz3'foo' is an invalid keyword argument for print\(\)$rrrr)sependfileflushr)r7r0printr9s  r
test_varargs17_kwz-CFunctionCallsErrorMessages.test_varargs17_kwsFDy#$aQAAQA		O	O	O	O	Orcd}|t|5tditddiddddS#1swxYwYdS)Nz'invalid keyword argument for print\(\)$rrr,)rr)r7r0rrr9s  r
test_varargs18_kwz-CFunctionCallsErrorMessages.test_varargs18_kws8

#
#Is
3
3	0	0//6%==#.///	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0AAAcd}|t|5tditddiddddS#1swxYwYdS)Nz'invalid keyword argument for round\(\)$?rr)r)r7r0roundrr9s  r
test_varargs19_kwz-CFunctionCallsErrorMessages.test_varargs19_kws8

#
#Is
3
3	.	.--6%==!,---	.	.	.	.	.	.	.	.	.	.	.	.	.	.	.	.	.	.rcNd}|t|ijddS)Nz'keys\(\) takes no arguments \(1 given\)rr7r0keysr9s  r
test_oldargs0_1z+CFunctionCallsErrorMessages.test_oldargs0_1s)8y#rw:::::rcPd}|t|ijdddS)Nz'keys\(\) takes no arguments \(2 given\)rrrr9s  r
test_oldargs0_2z+CFunctionCallsErrorMessages.test_oldargs0_2s+8y#rw1=====rcPd}|t|ijddS)N#keys\(\) takes no keyword argumentsrrSrr9s  r
test_oldargs0_1_kwz.CFunctionCallsErrorMessages.test_oldargs0_1_kws,4y#rw!<<<<<rcRd}|t|ijdddS)NrrrWrr9s  r
test_oldargs0_2_kwz.CFunctionCallsErrorMessages.test_oldargs0_2_kws.4y#rw!qAAAAArcLd}|t|gjdS)Nz0count\(\) takes exactly one argument \(0 given\)r7r0countr9s  r
test_oldargs1_0z+CFunctionCallsErrorMessages.test_oldargs1_0s'Ay#rx88888rcPd}|t|gjdddS)Nz0count\(\) takes exactly one argument \(2 given\)rrrr9s  r
test_oldargs1_2z+CFunctionCallsErrorMessages.test_oldargs1_2s+Ay#rxA>>>>>rcPd}|t|gjddSN$count\(\) takes no keyword argumentsrrSrr9s  r
test_oldargs1_0_kwz.CFunctionCallsErrorMessages.test_oldargs1_0_kws,5y#rx1=====rcRd}|t|gjiddSrrr9s  r
test_oldargs1_1_kwz.CFunctionCallsErrorMessages.test_oldargs1_1_kws.5y#rxqAAAAArcRd}|t|gjdddS)NrrrWrr9s  r
test_oldargs1_2_kwz.CFunctionCallsErrorMessages.test_oldargs1_2_kws.5y#rx1BBBBBrN)&rrrr;r=rCrGrKrNrPrUrYr\r_rbrerhrlrorrrvr|rrrrrrrrrrrrrrrrrrr
r4r42s\@@@FFFVVV???888<<<@@@EEEJJJ:::>>>======:::AAAFFFOOO[[[FFFEEEFFF
FFF
@@@
OOO
000...;;;>>>===BBB999???>>>BBBCCCCCrr4ceZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
ZdZdZdZdZdZdZdZdZdZdZdZdZdS)TestCallingConventionsaTest calling using various C calling conventions (METH_*) from Python

    Subclasses test several kinds of functions (module-level, methods,
    class methods static methods) using these attributes:
      obj: the object that contains tested functions (as attributes)
      expected_self: expected "self" argument to the C function

    The base class tests module-level functions.
    c,tx|_|_dSr)	_testcapiobj
expected_selfrs r
setUpzTestCallingConventions.setUps(114%%%rct||jddd|jdfdSNrrrrrrr'rmeth_varargsrrs r
test_varargsz#TestCallingConventions.test_varargssFH!!!Q**

+	
	
	
	
	
rcZ||jjd|jdfdSNrrrs r
test_varargs_extz'TestCallingConventions.test_varargs_exts>!DH!9-

+	
	
	
	
	
rcJd}t|fddS)Nz+meth_varargs\(\) takes no keyword argumentsc:jdSNr)k)rrrsr
<lambda>z>TestCallingConventions.test_varargs_error_kw.<locals>.<lambda>sDH$9$9A$9$>$>rr7r0r9s` r
test_varargs_error_kwz,TestCallingConventions.test_varargs_error_kws;<s>>>>	
	
	
	
	
rc||jdddd|jddddfdSNrrrrrrrrr'rmeth_varargs_keywordsrrs r
test_varargs_keywordsz,TestCallingConventions.test_varargs_keywordssUH**1a1*::

qq)9)9:	
	
	
	
	
rc	r||jjddgiddd|jddddfdSrrrs r
test_varargs_keywords_extz0TestCallingConventions.test_varargs_keywords_exts\*DH*QFGAA6F6FGG

qq)9)9:	
	
	
	
	
rcp||jd|jdfdSNrr'rmeth_orrs r
test_ozTestCallingConventions.test_os4++d.@!-DEEEEErc\||jjdg|jdfdSrrrs r

test_o_extz!TestCallingConventions.test_o_exts31#.1CQ0GHHHHHrcVd}|t||jjdS)Nz1meth_o\(\) takes exactly one argument \(0 given\))r7r0rrr9s  r
test_o_error_no_argz*TestCallingConventions.test_o_error_no_args)By#tx?????rcJd}t|fddS)Nz1meth_o\(\) takes exactly one argument \(2 given\)c:jddSNrrrrrsr
rz>TestCallingConventions.test_o_error_two_args.<locals>.<lambda>sDHOOAq$9$9rrr9s` r
test_o_error_two_argsz,TestCallingConventions.test_o_error_two_argss;Bs9999	
	
	
	
	
rcJd}t|fddS)Nz1meth_o\(\) takes exactly one argument \(3 given\)c"jjdSrrrsr
rz9TestCallingConventions.test_o_error_ext.<locals>.<lambda>
sODHOY$?rrr9s` r
test_o_error_extz'TestCallingConventions.test_o_error_ext
s;Bs????	
	
	
	
	
rcJd}t|fddS)N%meth_o\(\) takes no keyword argumentsc:jdSrrrsr
rz8TestCallingConventions.test_o_error_kw.<locals>.<lambda>DHOOaO$8$8rrr9s` r
test_o_error_kwz&TestCallingConventions.test_o_error_kw;6s8888	
	
	
	
	
rcJd}t|fddS)Nrc:jdSrrrsr
rz<TestCallingConventions.test_o_error_arg_kw.<locals>.<lambda>rrrr9s` r
test_o_error_arg_kwz*TestCallingConventions.test_o_error_arg_kwrrcj||j|jdSrr'rmeth_noargsrrs r
test_noargsz"TestCallingConventions.test_noargss/--//1CDDDDDrcV||jjg|jdSrrrs r
test_noargs_extz&TestCallingConventions.test_noargs_exts.--r2D4FGGGGGrcJd}t|fddS)Nz.meth_noargs\(\) takes no arguments \(1 given\)c8jdSrrrrsr
rz>TestCallingConventions.test_noargs_error_arg.<locals>.<lambda>%sDH$8$8$;$;rrr9s` r
test_noargs_error_argz,TestCallingConventions.test_noargs_error_arg"s;?s;;;;	
	
	
	
	
rcJd}t|fddS)Nz.meth_noargs\(\) takes no arguments \(2 given\)c:jddSrrrsr
rz?TestCallingConventions.test_noargs_error_arg2.<locals>.<lambda>+sDH$8$8A$>$>rrr9s` r
test_noargs_error_arg2z-TestCallingConventions.test_noargs_error_arg2(s;?s>>>>	
	
	
	
	
rcJd}t|fddS)Nz.meth_noargs\(\) takes no arguments \(3 given\)c"jjdSrrrsr
rz>TestCallingConventions.test_noargs_error_ext.<locals>.<lambda>1s$8DH$8)$Drrr9s` r
test_noargs_error_extz,TestCallingConventions.test_noargs_error_ext.s;?sDDDD	
	
	
	
	
rcJd}t|fddS)Nz*meth_noargs\(\) takes no keyword argumentsc:jdSrrrsr
rz=TestCallingConventions.test_noargs_error_kw.<locals>.<lambda>7sDH$8$81$8$=$=rrr9s` r
test_noargs_error_kwz+TestCallingConventions.test_noargs_error_kw4s;;s====	
	
	
	
	
rct||jddd|jdfdSrr'r
meth_fastcallrrs r

test_fastcallz$TestCallingConventions.test_fastcall:sFH""1a++

+	
	
	
	
	
rcZ||jjd|jdfdSrrrs r
test_fastcall_extz(TestCallingConventions.test_fastcall_ext@s>"DH"I.

+	
	
	
	
	
rcJd}t|fddS)Nz,meth_fastcall\(\) takes no keyword argumentsc:jdSr)rr	rsr
rz?TestCallingConventions.test_fastcall_error_kw.<locals>.<lambda>IsDH$:$:Q$:$?$?rrr9s` r
test_fastcall_error_kwz-TestCallingConventions.test_fastcall_error_kwFs;=s????	
	
	
	
	
rc||jdddd|jddddfdSrr'rmeth_fastcall_keywordsrrs r
test_fastcall_keywordsz-TestCallingConventions.test_fastcall_keywordsLsUH++AqA+;;

qq)9)9:	
	
	
	
	
rc	n||jjdiddd|jddddfdS)Nrrrrrrs r
test_fastcall_keywords_extz1TestCallingConventions.test_fastcall_keywords_extRsX+DH+VHQQ7G7GHH

qq)9)9:	
	
	
	
	
rN)rrr__doc__rrrrrrrrrrrrrrrrrrrr
rrrrrrr
rrs222














FFFIII@@@











EEEHHH




























rrceZdZdZdZdS)TestCallingConventionsInstancez?Test calling instance methods using various calling conventionscDtjx|_|_dSr)rMethInstancerrrs r
rz$TestCallingConventionsInstance.setUp\s (1(>(@(@@4%%%rNrrrrrrrr
rrYs.IIAAAAArrceZdZdZdZdS)TestCallingConventionsClassz<Test calling class methods using various calling conventionsc6tjx|_|_dSrr	MethClassrrrs r
rz!TestCallingConventionsClass.setUpcs(1(;;4%%%rNrrrr
rr`s)FF<<<<<rrceZdZdZdZdS)#TestCallingConventionsClassInstancez&Test calling class methods on instancecXtj|_tj|_dSrrrs r
rz)TestCallingConventionsClassInstance.setUpjs#&((&0rNrrrr
r"r"gs)0011111rr"ceZdZdZdZdS)TestCallingConventionsStaticz=Test calling static methods using various calling conventionscDtj|_d|_dSr)r
MethStaticrrrs r
rz"TestCallingConventionsStatic.setUprs '))!rNrrrr
r%r%os)GG"""""rr%c
||gSrrarg1arg2s  r
pyfuncr,ws$<rcdSNnoargrrrr
pyfunc_noargr0{s7rcFeZdZdZdZedZedZdS)PythonClassc
||gSrr)rr*r+s   r
methodzPythonClass.methodsd|rcdSr.rrs r
method_noargzPythonClass.method_noargswrcdS)Nr~r)clss r
class_methodzPythonClass.class_methods}rcdS)Nrzrrrr

static_methodzPythonClass.static_methods~rN)	rrrr4r6r~r9rzr;rrr
r2r2sh[\rr2cleZdZdZedddgfeddfejddfejddfe	j
dddgfe	jddfe	jddfe	jddfgZed	d
diddgfeddddddgfe	j
d	d
diddgfe	j
ddddddgfgZ
ejZeefeefejejfejejfejdffD]\ZZeejdedffejdedeffejdedffejdedffejdedeffejdedeffejdefejd
edffge
ejdddiedddiffejdddiedddiffejdiedeffejdddiedddiffejdddiedddiffejdiedeffgdZdZdZdZ dZ!dS)
FastCallTestsz0Test calling using various callables from C
    rrrrr/r~rz)rr+r)N){r>rTrXct|tr0|dtur!|didfvrg|dd|dR}|||dS)N)
isinstancetuple
NULL_OR_EMPTYr')rresultr)s   r
check_resultzFastCallTests.check_resultsoh&&	88B<=+H+Hbzb$Z''7Xcrc]7F2J77*****rc0|jD]\}}}|||5tj||}||||s+tj|d}|||dddn#1swxYwYdS)Nryargs)
CALLS_POSARGSsubTestrpyobject_fastcallrE)rryrHr)rDs     r
r
zFastCallTests.test_fastcalls%)$6	8	8 D$4d33
8
8"4T4@@!!&(3338&8tDDF%%fh777
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8	8	8sAB

B	B	c
|jD]\}}}|||5tj||d}||||s,tj|dd}|||dddn#1swxYwY|jD]c\}}}}||||5tj|||}|||dddn#1swxYwYddS)NrGryrHkwargs)rIrJrpyobject_fastcalldictrECALLS_KWARGS)rryrHr)rDrNs      r
test_vectorcall_dictz"FastCallTests.test_vectorcall_dicts%)$6		8		8 D$4d33
8
8"8tTJJ!!&(3338&<T4NNF%%fh777
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8-1,=	4	4(D$4d6BB
4
4"8tVLL!!&(333
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4	4	4s$ABB	B	>-C77C;	>C;	cD|jD]\}}}|||5tj||d}|||tj||d}||||sXtj|dd}|||tj|dd}|||dddn#1swxYwY|jD]\}}}}||||5t
|}|t
|z}tj|||}|||dddn#1swxYwYdS)NrGrrM)	rIrJrpyobject_vectorcallrErPrBrvalues)rryrHr)rDrNkwnamess       r
test_vectorcallzFastCallTests.test_vectorcall	s+%)$6	8	8 D$4d33
8
8"6tT4HH!!&(333#6tT2FF!!&(3338&:4tLLF%%fh777':4rJJF%%fh777!
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8$-1,=	4	4(D$4d6BB
4
4

..eFMMOO444"6tT7KK!!&(333	
4
4
4
4
4
4
4
4
4
4
4
4
4
4
4	4	4s%B3C$$C(	+C(	A2FF	F	crGdd}||}tddd|fi|jdS)Nc eZdZdgZdZdZdS)>FastCallTests.test_fastcall_clearing_dict.<locals>.IntWithDictrNc||_dSr)rN)rrNs  r
__init__zGFastCallTests.test_fastcall_clearing_dict.<locals>.IntWithDict.__init__+s
$rc^|jtjdS)Nr)rNcleargccollectrs r
	__index__zHFastCallTests.test_fastcall_clearing_dict.<locals>.IntWithDict.__index__-s&!!###
qrN)rrr	__slots__r[r`rrr
IntWithDictrY)s9!
I
%
%
%




rrb)optimizepassrtexec)compilerN)rrbrTs   r
test_fastcall_clearing_dictz)FastCallTests.test_fastcall_clearing_dict&sj								
K///	FA2222222r)"rrrrr,r0r2r9r;PYTHON_INSTANCEr4r6rIrPrr	_instancer r'rrextendrrrCr	rrrrEr
rQrVrgrrr
r=r=sK
!Q 
r7#
	!2}5		"B7
	!Q0		%r73		%r=9		&N;#M6
{QF+	a++aV4
	{QF;		a%;%;aVDL'	&((I	I	I		i12					 34		t$""]	

v
v'>?

&
>
@

(?@

]B$78

'
>
@

']B
6
8
_b-0
Z=#"67
				

&c
]FS#J$G
I

&S#JS#J ?
A

&]FMB
D

'c
]FS#J$G
I

'S#JS#J ?
A

']FMB
D


	
	
	
	+++888444&444:33333rr=iic|Szsome docrrs r
testfunctionrm<Krc|Srlr)rrs  r
testfunction_kwrpArnrc&eZdZdZdZdZdZdS)
TestPEP590cddl}|dt}|t	t
jtz|t	tj
jtz|t	tjjtz|t	tjtz|t	|jtz|tj
jtz|tjjtz|tjjtzGddtj
}||jtzdS)NrrceZdZdS)DTestPEP590.test_method_descriptor_flag.<locals>.MethodDescriptorHeapNrrrrrr
MethodDescriptorHeapruWDrrw)	functools	lru_cachermassertFalsetyperepr	__flags__Py_TPFLAGS_METHOD_DESCRIPTOR
assertTruer#append__add__rMethodDescriptorBaseMethodDescriptorDerivedMethodDescriptorNopGet)rrycachedrws    r
test_method_descriptor_flagz&TestPEP590.test_method_descriptor_flagHs'$$Q''55d-0LLMMMT[))36RRSSST\**47SSTTT\**47SSTTTV.1MMNNN	6@C__```	9CFbbccc9CFbbccc					9#A			-7:VVWWWWWrc|tjjtz|tjjtz|tjjtz|tjjtzGddtj}||jtzdS)NceZdZdS)=TestPEP590.test_vectorcall_flag.<locals>.MethodDescriptorHeapNrvrrr
rwrbrxrrw)	rrrr~Py_TPFLAGS_HAVE_VECTORCALLrr{rMethodDescriptor2)rrws  r
test_vectorcall_flagzTestPEP590.test_vectorcall_flag[s	6@C]]^^^	9CF``aaa9CF``aaa	3=@ZZ[[[					9#A			-7:TTUUUUUrcttd}tj}||||dS)Nr)rBr/rrassertIs)rrHr.s   r
test_vectorcall_overridez#TestPEP590.test_vectorcall_overridefsCU1XX,..

aah%%%%%rc`ttdfidftjgdfidfgjdidftdgfddidft
didftdddidftjdid	ftj	did	ftj
did
fg	}ddlmm}ddl
m}dd
lm}fd}|D]\}}}}	|t%|5|s ||	|||||	||||dddn#1swxYwYGddtj}
Gddtj}Gdd}Gdd|tj}
|t(jifdd	idfijifdd	idf|
did	f|didf|
did	fgz
}|D]L\}}}}	|t%|5|dd}|||d}||}|sl||	||||	||d||	||||	||||	||i|||	||||||	||i|||	||i|dddn#1swxYwYNdS)N*r)r$start)rrTF)rSpyvectorcall_call)
MethodType)partialcng||R}t|}|||Sr)rTrB)ryrHrNrUrSs    r

vectorcallz.TestPEP590.test_vectorcall.<locals>.vectorcalls=*D*6==??**DFmmG&&tT7;;;rceZdZdS)8TestPEP590.test_vectorcall.<locals>.MethodDescriptorHeapNrvrrr
rwrrxrrwceZdZdZdS)>TestPEP590.test_vectorcall.<locals>.MethodDescriptorOverriddencdS)Nnewr)rns  r
__call__zGTestPEP590.test_vectorcall.<locals>.MethodDescriptorOverridden.__call__surN)rrrrrrr
MethodDescriptorOverriddenrs#




rrceZdZfdZxZS)-TestPEP590.test_vectorcall.<locals>.SuperBasec0tj|SrsuperrrrH	__class__s  r
rz6TestPEP590.test_vectorcall.<locals>.SuperBase.__call__'uww'..rrrrr
__classcell__rs@r
	SuperBaser8
/
/
/
/
/
/
/
/
/rrceZdZfdZxZS)9TestPEP590.test_vectorcall.<locals>.MethodDescriptorSuperc0tj|Srrrs  r
rzBTestPEP590.test_vectorcall.<locals>.MethodDescriptorSuper.__call__rrrrs@r
MethodDescriptorSuperrrrrrrr)lenr/r#rsumrmrprrrrrSrtypesrryrrJrr'r&update)rcallsrrrrryrHrNr)rwrrrargs1methwrappedrSs                 @r
rVzTestPEP590.test_vectorcallps
b		|R,+AwD1)T2t,wR0r2.!54+r:022D"dC355tRF-//r5AC	EDDDDDDD$$$$$$%%%%%%	<	<	<	<	<
/4	R	R*T4c$ii((
R
RN$$X/@/@t/L/LMMM  +<+<T4+P+PQQQ
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R					9#A								)G				/	/	/	/	/	/	/	/	/	/	/	/	/Iy/M	/	/	/	
[2%%t4
Yd|T2
!
!
#
#T2t4
'
'
)
)4U;
"
"
$
$dB5
	
/4
	E
	E*T4c$ii((
E
EQRR!z$Q00!'$--?$$XttT{;;;$$X/B/B4t/T/TUUU$$XttU|<<<$$Xww~>>>  44+@+@+@AAA  ::dD&+I+IJJJ  44+A&+A+ABBB  77D+CF+C+CDDD
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
	E
	Es&!AD11D5	8D5	
DL!!L%	(L%	N)rrrrrrrVrrr
rrrrFs`XXX&	V	V	V&&&JEJEJEJEJErrrc@eZdZdZedZedZdS)AcdSrr)rrTrXs   r
method_two_argszA.method_two_argssrcdSrrrrr
static_no_argszA.static_no_argsrcdSrrargs r
positional_onlyzA.positional_onlyrrN)rrrrrzrrrrr
rrsY




\


\


rrcLeZdZejdZdZdZdZdZ	dZ
dS)!TestErrorMessagesUseQualifiedNamec#K|t5}dVdddn#1swxYwY|t|j|dSr)assertRaisesr0r'r	exception)rmessagecms   r
check_raises_type_errorz9TestErrorMessagesUseQualifiedName.check_raises_type_errors


y
)
)	REEE															R\**G44444s.22cd}||5tdddddS#1swxYwYdS)Nz?A.method_two_args() missing 1 required positional argument: 'y'rTrrrr9s  r
test_missing_argumentsz8TestErrorMessagesUseQualifiedName.test_missing_argumentssO

)
)#
.
.	%	%
CC$$$	%	%	%	%	%	%	%	%	%	%	%	%	%	%	%	%	%	%s"AAAcd}||5tdddddS#1swxYwYdS)Nz?A.static_no_args() takes 0 positional arguments but 1 was givenzoops it's an arg)rrrr9s  r
test_too_many_positionalz:TestErrorMessagesUseQualifiedName.test_too_many_positionalsO

)
)#
.
.	1	1
/000	1	1	1	1	1	1	1	1	1	1	1	1	1	1	1	1	1	1sAAAcd}||5tdddddS#1swxYwYdS)NzYA.positional_only() got some positional-only arguments passed as keyword arguments: 'arg'rTr)rrrr9s  r
&test_positional_only_passed_as_keywordzHTestErrorMessagesUseQualifiedName.test_positional_only_passed_as_keywordsi

)
)#
.
.	'	'
#&&&	'	'	'	'	'	'	'	'	'	'	'	'	'	'	'	'	'	'sAAAcd}||5tdddddS#1swxYwYdS)Nz<A.method_two_args() got an unexpected keyword argument 'bad'rT)badrr9s  r
test_unexpected_keywordz9TestErrorMessagesUseQualifiedName.test_unexpected_keywordsL

)
)#
.
.	)	)
CCC(((	)	)	)	)	)	)	)	)	)	)	)	)	)	)	)	)	)	)s#AAAcd}||5tdddddddS#1swxYwYdS)Nz8A.method_two_args() got multiple values for argument 'x'rTrXoopsrSrr9s  r
test_multiple_valuesz6TestErrorMessagesUseQualifiedName.test_multiple_valuessH

)
)#
.
.	4	4
CCSF333	4	4	4	4	4	4	4	4	4	4	4	4	4	4	4	4	4	4s%A

AAN)rrr
contextlibcontextmanagerrrrrrrrrr
rrs~555
%%%
111
'''
)))
44444rr__main__)$unittesttest.supportrrrrjr rr^rrrTestCaserr4rrrr"r%r,r0r2rhobjectrCr=rrrmrprrrrrmainrrr
<module>rs%%%%%%III



				&&&&&S&&&H%8WCWCWCWCWC("3WCWCWCvH
H
H
H
H
X.H
H
H
VAAAAA%;AAA<<<<<"8<<<11111*@111"""""#9"""







 +--
b3b3b3b3b3H%b3b3b3J%&

tEtEtEtEtE"tEtEtEn















44444(9444DzHMOOOOOs