Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 3.21.158.197
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : test_index.pyc
�
?��cc@suddlZddlmZddlZddlmZejZedZdd5d��YZ	de
fd��YZd	efd
��YZ
defd��YZd
ejfd��YZdejfd��YZdefd��YZdd6d��YZdd7d��YZdefd��YZdee
fd��YZdeefd��YZdeefd��YZdefd ��YZd!efd"��YZd#efd$��YZd%efd&��YZd'efd(��YZd)efd*��YZd+efd,��YZ d-efd.��YZ!d/ejfd0��YZ"d1ejfd2��YZ#d3�Z$e%d4krqe$�ndS(8i����N(ttest_support(tmaxintitoldstylecBseZd�ZRS(cCs|jS(N(tind(tself((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyt	__index__	s(t__name__t
__module__R(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRstnewstylecBseZd�ZRS(cCs|jS(N(R(R((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyR
s(RRR(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRstTrapIntcBseZd�ZRS(cCs|S(N((R((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRs(RRR(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyR	stTrapLongcBseZd�ZRS(cCs|S(N((R((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRs(RRR(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyR
stBaseTestCasecBs>eZd�Zd�Zd�Zd�Zd�Zd�ZRS(cCst�|_t�|_dS(N(RtoRtn(R((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pytsetUpscCsTd|j_d|j_|jtj|j�d�|jtj|j�d�dS(Ni����i(RRR
tassertEqualtoperatortindex(R((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyt
test_basicscCs�d|j_d|j_t|j|j|j�}tddd�}|j|j|j�|jd��t|j|j|j�}tddd�}|j|j|j�|jd��dS(Nii(RRR
tsliceRtindices(Rtslct	check_slc((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyt
test_slice#s%cCs�d|j_d|j_|jdj�d�|jdj�d�|j|jj�d�|j|jj�d�|jtj�d�|jtj�d�dS(Niiili����ii(RRR
RRtTruetFalse(R((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyt
test_wrappers-scCs�td�}|j|td�td�!|dd!�|j|td�td�!|dd!�|jtt��jd�d�|jttd��jd�d�dS(Ni
iii(iii(iii(trangeRR	R
RR(Rtr((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyttest_subclasses7s
**"cCs�d|j_d|j_|jttj|j�|jttj|j�|jtt|j�jd�|jtt|j�jd�dS(Ntdumbtbadi(	RRR
tassertRaisest	TypeErrorRRRR(R((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyt
test_error>s(RRRRRRRR"(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRs			
	
	tSeqTestCasecBsYeZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
RS(	cCs4t�|_t�|_t�|_t�|_dS(N(RRRR
to2tn2(R((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRJscCs^d|j_d|j_|j|j|j|jd�|j|j|j|jd�dS(Ni����i(RRR
Rtseq(R((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyt
test_indexPs!cCs�d|j_d|j_d|j_d|j_|j|j|j|j!|jdd!�|j|j|j|j!|jdd!�dS(Niiii(RRR$R
R%RR&(R((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRVs*cCs�t|j�}t|d�|j_|d|j_|j|j|j|jdd!�|j|j|j |j�|j|j|j|jdd!�|j|j|j |j�dS(Ng�?ii(tlenR&tintRRR
R(Rtseqlen((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyttest_slice_bug7532a^s$$cCs�t|jt�r"|jd�nt|j�}|d|j_t|d�|j_|j	|j|j|j�|j	|j|j |jdd!�|j	|j|j|j�|j	|j|j |jdd!�dS(Nstest fails for ClassicSeqig�?i(
t
isinstanceR&t
ClassicSeqtskipTestR(R$RR)R%R(RR*((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyttest_slice_bug7532bgs$cCs�d|j_d|j_|j|j|j|jd�|j|j|j|jd�|j|j|j|jd�|j|j|j|jd�dS(Nii(RRR
RR&(R((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyttest_repeatss!!!cCsd|j_d|j_|j|jj|j�|jd�|j|jj|j�|jd�|j|jj|j�|jd�|j|jj|j�|jd�|j|jj|j�|jd�|j|jj|j�|jd�dS(Nii(RRR
RR&t__getitem__t__mul__t__rmul__(R((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyR{s&&&&&cCsF|j|jt�|jd�|j|jt�|jd�dS(Ni(RR&R	R
(R((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyR�s!cCs�d|j_d|j_d�}|jt||j|�|jt||j|�d�}|jt||j|�|jt||j|�dS(NRRcSs|j|S(N(R&(txtobj((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyt<lambda>�tcSs|j|S(N(R&(R4R5((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyR6�R7(RRR
R R!(Rtindexobjtsliceobj((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyR"�s		(RRRR'RR+R/R0RRR"(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyR#Gs								
	tListTestCasecBs2eZddddddgZd�Zd�ZRS(ii
iii(i2c	Cs�d|j_d|j_td�}||j=||j=d||j<d||j<|j|td��ddd	d
ddd
g}|j|jd�|j|dddd
ddd
g�|j|j�|j|ddd
ddd
g�dS(Ni����isab!cdefghi!jtXtYt
abYdefghXjiiiii	i
ithere(RRR
tlistRt__setitem__t__delitem__(Rtlst((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyttest_setdelitem�s



%cCs�d|j_d|j_ddg}||j9}|j|ddddg�||j9}|j|ddddgd�dddddd	g}|j|j�}|j||�|j|dddddd	gd�dS(
Niiiiiiii	i(RRR
Rt__imul__tassertIs(RRBtl2((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyttest_inplace_repeat�s

 (RRR&RCRG(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyR:�s	t_BaseSeqcBsDeZd�Zd�Zd�Zd�Zd�ZeZd�ZRS(cCst|�|_dS(N(R?t_list(Rtiterable((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyt__init__�scCs
t|j�S(N(treprRI(R((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyt__repr__�scCs
|j|kS(N(RI(Rtother((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyt__eq__�scCs
t|j�S(N(R(RI(R((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyt__len__�scCs|j|j|�S(N(t	__class__RI(RR
((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyR2�scCs|j|S(N(RI(RR((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyR1�s(	RRRKRMRORPR2R3R1(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRH�s					t_GetSliceMixincBseZd�ZRS(cCs|jj||�S(N(RIt__getslice__(Rtitj((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRS�s(RRRS(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRR�sR-cBseZRS((RR(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyR-�stNewSeqcBseZRS((RR(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRV�stClassicSeqDeprecatedcBseZRS((RR(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRW�stNewSeqDeprecatedcBseZRS((RR(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRX�st
TupleTestCasecBseZdZRS(ii
iii(i2(ii
iii(i2(RRR&(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRY�stStringTestCasecBseZdZRS(sthis is a test(RRR&(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRZ�stByteArrayTestCasecBseZed�ZRS(sthis is a test(RRt	bytearrayR&(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyR[�stUnicodeTestCasecBseZdZRS(uthis is a test(RRR&(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyR]�stClassicSeqTestCasecBseZed�ZRS(ii
iii(i2(ii
iii(i2(RRR-R&(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyR^�stNewSeqTestCasecBseZed�ZRS(ii
iii(i2(ii
iii(i2(RRRVR&(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyR_�stClassicSeqDeprecatedTestCasecBseZed�ZRS(ii
iii(i2(ii
iii(i2(RRRWR&(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyR`�stNewSeqDeprecatedTestCasecBseZed�ZRS(ii
iii(i2(ii
iii(i2(RRRXR&(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRa�stXRangeTestCasecBseZd�ZRS(cCsUt�}d|_|jtdd�|d�|jtdd�j|�d�dS(Niiii(RRRtxrangeR1(RR
((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyttest_xrange�s		(RRRd(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRb�stOverflowTestCasecBsGeZd�Zd�Zd�Zd�Zd�Zd�Zd�ZRS(cCsd|_|j|_dS(Niidl(tpostneg(R((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyR�s	cCs<|j|jj�|j�|j|jj�|j�dS(N(RRfRRg(R((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyttest_large_longs�scCs�d|fd��Y}|�}|j||j|j�|j||j|j�|j||j|j!jt�dtdf�|j||j|jd�jt�dtdf�dS(NtGetItemcBseZd�Zd�ZRS(cSstS(N(R(R((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRPscSs|S(N((Rtkey((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyR1s(RRRPR1(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRis	ii(RRfRgRtmaxsize(RtbaseRiR4((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyt_getitem_helpers	%cCs�d|fd��Y}|�}|j||j|j�|j||j|j�|j||j|j!tttf�|j||j|jd�jt�dtdf�dS(NRicBs#eZd�Zd�Zd�ZRS(cSstS(N(R(R((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRPscSs|S(N((RRj((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyR1scSs
||fS(N((RRTRU((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRSs(RRRPR1RS(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRis		ii(RRfRgRtminsizeRkR(RRlRiR4((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyt_getslice_helper_deprecateds	'%cCs1|jt�tj��|jt�WdQXdS(N(RmtobjectRtcheck_py3k_warningsRo(R((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyttest_getitem s

cCs7ddd��Y}tj��|j|�WdQXdS(NtEmptycBseZRS((RR(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRs&s((RRqRo(RRs((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyttest_getitem_classic%s
cs6�jt�fd���jt�fd��dS(Ncsd�jS(Nta(Rf((R(s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyR6-R7csd�jS(NRu(Rg((R(s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyR6.R7(R t
OverflowError(R((Rs6/usr/local/python-2.7/lib/python2.7/test/test_index.pyttest_sequence_repeat,s(	RRRRhRmRoRrRtRw(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyRe�s						cCsOtjtttttttt	t
t�
tj��tjt
t�WdQXdS(N(Rtrun_unittestRR:RYR[RZR]R^R_RbReRqR`Ra(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyt	test_main1s
t__main__((((&tunittestttestRRtsysRtMAX_Py_ssize_tRkRnRRpRR)R	tlongR
tTestCaseRR#R:RHRRR-RVRWRXRYRZR[R]R^R_R`RaRbReRyR(((s6/usr/local/python-2.7/lib/python2.7/test/test_index.pyt<module>s>	/M"8	
© 2025 GrazzMean