HEX
Server: Apache
System: Linux beluga.o2switch.net 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP Thu May 7 23:17:13 UTC 2026 x86_64
User: sc3naki1272 (1113)
PHP: 8.3.33
Disabled: NONE
Upload Files
File: //opt/alt/python27/lib64/python2.7/site-packages/Cython/Compiler/Tests/TestSignatureMatching.pyc
�
��]c@skddlZddlmZddlmZddlmZd�Zd�Z	dej
fd��YZdS(	i����N(t
PyrexTypes(tNameNode(tCFuncTypeArgcGs2tjtjg|D]}td|d�^q�S(Ntname(tptt	CFuncTypet
c_int_typeRtNone(t	arg_typestarg_type((s^/opt/alt/python27/lib64/python2.7/site-packages/Cython/Compiler/Tests/TestSignatureMatching.pyt	cfunctypescCstj|dd||�S(NtCPP_(RtCppClassTypeR(Rtbase_classes((s^/opt/alt/python27/lib64/python2.7/site-packages/Cython/Compiler/Tests/TestSignatureMatching.pytcppclasstypestSignatureMatcherTestcBs;eZdZd�Zd�Zd�Zd�Zd�ZRS(sJ
    Test the signature matching algorithm for overloaded signatures.
    cCsmg|D]}tdd|�^q}tj||�}|dk	rV|jd|�n|j||j�dS(Nttype(RRRt
best_matchtassertNotEqualtassertEqualR(tselft
expected_typeRt	functionsR	targstmatch((s^/opt/alt/python27/lib64/python2.7/site-packages/Cython/Compiler/Tests/TestSignatureMatching.pyt
assertMatchess
%cCs�ttjtj��ttjtj��ttjtj��g}g|D]}tdd|�^qL}|j|dtjg|�|j|dtjg|�|j|dtjg|�dS(NRiii(	R
RtCReferenceTypeRtc_long_typet
c_double_typeRRR(Rtfunction_typesttR((s^/opt/alt/python27/lib64/python2.7/site-packages/Cython/Compiler/Tests/TestSignatureMatching.pyttest_cpp_reference_single_args%cCs�ttjtj�tjtj��ttjtj�tjtj��g}g|D]}tdd|�^qU}|j|dtjtjg|�|j|dtjtjg|�|j|dtjtjg|�dS(NRii(R
RRRRRRR(RRRR((s^/opt/alt/python27/lib64/python2.7/site-packages/Cython/Compiler/Tests/TestSignatureMatching.pyttest_cpp_reference_two_args%s!'%##cCs�gtd�D]}td|g�^q
}ttj|d��ttj|d��g}g|D]}tdd|�^qe}|j|d|dg|�|j|d|dg|�dS(NisTest%diiR(trangeRR
RRRRR(RtitclassesRRR((s^/opt/alt/python27/lib64/python2.7/site-packages/Cython/Compiler/Tests/TestSignatureMatching.pyttest_cpp_reference_cpp_class2s,%cCs[gtd�D]}td|g�^q
}ttj|d�tj�ttj|d�tj�ttj|d�tj�ttj|d�tj�g}g|D]}tdd|�^q�}|j	|d|dtjg|�|j	|d|dtjg|�|j	|d|dtjg|�|j	|d|dtjg|�dS(NisTest%diiRi(
R!RR
RRRRRRR(RR"R#RRR((s^/opt/alt/python27/lib64/python2.7/site-packages/Cython/Compiler/Tests/TestSignatureMatching.pyt$test_cpp_reference_cpp_class_and_int=s,"%$$$(t__name__t
__module__t__doc__RRR R$R%(((s^/opt/alt/python27/lib64/python2.7/site-packages/Cython/Compiler/Tests/TestSignatureMatching.pyRs			
	(tunittesttCython.CompilerRRtCython.Compiler.ExprNodesRtCython.Compiler.PyrexTypesRR
RtTestCaseR(((s^/opt/alt/python27/lib64/python2.7/site-packages/Cython/Compiler/Tests/TestSignatureMatching.pyt<module>s