%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/plesk/python/2.7/lib64/python2.7/test/
Upload File :
Create Path :
Current File : //opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyo

�
5}�ac@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(s=/opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pys	<genexpr>s(tanytsetttypet	__class__(Rtinst((Rs=/opt/plesk/python/2.7/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(s=/opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pys	<genexpr>s(t__dict__tgetRRtmro(Rtsub((R
s=/opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyRs%(t__name__t
__module__RR(((s=/opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyRs	tIntegercBseZeZeeg�ZRS((RRRt
__metaclass__RtintR(((s=/opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyRstSubIntcBseZRS((RR(((s=/opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyRstTypeChecksTestcBsGeZd�Zd�Zd�Zd�Zd�Zd�Zd�ZRS(cCs6|jtjt�t�|jtjt�t�dS(N(tassertEqualRRRtTruetfloattFalse(tself((s=/opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyttestIsSubclassInternal"scCsn|jttt�t�|jtttf�t�|jttt�t�|jtttf�t�dS(N(Rt
issubclassRRRRR(R((s=/opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyttestIsSubclassBuiltin&scCsn|jtdt�t�|jtdtf�t�|jtdt�t�|jtdtf�t�dS(Ni*g��Q�	@(Rt
isinstanceRRR(R((s=/opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyttestIsInstanceBuiltin,scCs?|jtt�t�t�|jtt�tf�t�dS(N(RR!RR(R((s=/opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyttestIsInstanceActual2scCs9|jttt�t�|jtttf�t�dS(N(RRRR(R((s=/opt/plesk/python/2.7/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((s=/opt/plesk/python/2.7/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
((s=/opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyRMscSstS(N(R(RR((s=/opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyROs(RRRR(((s=/opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyR&Ls	tSubcBseZRS((RR(((s=/opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyR'Qsi((tassertNotIsInstancetassertIsInstancetassertFalseRRt
assertTrue(RR&R'((s=/opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyt
test_oldstyleJs(	RRRR R"R#R$R%R,(((s=/opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyR s						cCstjt�dS(N(Rtrun_unittestR(((s=/opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyt	test_mainXst__main__((
t__doc__tunittestttestRRRRRtTestCaseRR.Rtmain(((s=/opt/plesk/python/2.7/lib64/python2.7/test/test_typechecks.pyt<module>s
8	

Zerion Mini Shell 1.0