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.143.235.90
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : test_bigmem.pyo
�
?��cc@sHddlmZddlmZmZmZmZmZddlZddl	Z	ddl
Z
ddlZejr�ej
dkr�dndZndZdejfd	��YZd
ejfd��YZdejfd
��YZdejfd��YZd�ZedkrDeej�dkr:ejejd�ne�ndS(i����(ttest_support(t
bigmemtestt_1Gt_2Gt_4GtprecisionbigmemtestNi��iiitStrTestcBs�eZededd�d��Zededdd�d��Zejededde	�d���Z
ededd�d	��Zejededdde	�d
���ZddDd�Zejededde	d
�d���Zejededdde	d�d���Zejededdde	d�d���Zejeded
dde	d
�d���Zejededdd
�d���Zededd�d��Zededdd�d��Zededd�d��Zededd�d��Zededd�d��Zededd�d��Zededd�d��Zededd�d��Zededd�d��Zededd�d ��Zededd�d!��Zededd�d"��Z ededdd�d#��Z!ededdd�d$��Z"ededdd�d%��Z#ededdd�d&��Z$ededd�d'��Z%ededd�d(��Z&ededdd�d)��Z'ededdd�d*��Z(ededd+�d,��Z)ededdd�d-��Z*ededd+�d.��Z+ededd�d/��Z,ededd�d0��Z-ededd�d1��Z.ededd�d2��Z/ededd�d3��Z0ededdd�d4��Z1eded5dd�d6��Z2ededdd�d7��Z3ededdd�d8��Z4ededdd�d9��Z5ejeddFde	d�d;���Z6ejededdde	d�d<���Z7ede8ddd=�d>��Z9ede8ddd=�d?��Z:eded5dd�d@��Z;ededd�dA��Z<ededdd�dB��Z=ededdd�dC��Z>RS(GtminsizetmemuseicCs^d}d||}|j�}|j|t|�|j��|j|jd�|�dS(Ns abc def ghit-(t
capitalizetassertEqualtlentlstrip(tselftsizetSUBSTRtstcaps((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_capitalize*s
i
icCs�d}|j|�}|jt|�|�t|�t|�d}}t|�drf|d7}n|j|||!|�|j|j�|j��dS(Ns abc def ghiii(tcenterRRtstrip(RRRRtlpadsizetrpadsize((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_center3s
RcCs�d}y|j|�}Wntk
r,n�X|jt|�|�t|�t|�d}}t|�dr~|d7}n|j|||!|�|j|j�|j��~dS(Nu abc def ghiii(Rt
OverflowErrorRRR(RRRRRR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_center_unicode>s

cCs�d}d||}|j|jd�|�|d7}|j|jd�|d�|j|jd�d�|j|jd�d�|j|jd�d�dS(	Ns abc def ghit.it ititji(Rtcount(RRRR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyt
test_countOs
cCs-d|}|jt|jd��|�dS(NRsutf-8(RRtdecode(RRR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_decodeZs
u.cCsB|dkr|}n||}|jt|j|��|�dS(N(tNoneRRtencode(RRtenctctexpectedsizeR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pytbasic_encode_test`s	
icCs|j|d�dS(Nsutf-8(R((RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_encodegsicCs|j|d�dS(Ntraw_unicode_escape(R((RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_encode_raw_unicode_escapelsiiFicCs|j|d�dS(Ntutf7(R((RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_encode_utf7qscCs"|j|ddd|d�dS(Ntutf32R'i(R((RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_encode_utf32vscCs|j|ddd�dS(NtasciiR&tA(R((RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_decodeascii{scCs�d}d||}|j|j|��|j|j|��d|}|j|j|��|j|jd|��|j|j|��dS(Ns abc def ghiR	s...ta(t
assertTruetendswithtassertFalse(RRRRts2((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyt
test_endswith�s
cCs�d|}d}|j|j�|�~t||�\}}d|}|j|�}|jt|�||�|jt|jd��d�dS(NR	is       	Ri(Rt
expandtabstdivmodRR(RRRttabsizetslent	remainder((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_expandtabs�s

cCs?d}t|�}dj|d||g�}|j|jd�d�|j|j|�d�|j|jd|�||�|j|j|t|��||�|j|jd�|jd��|j|jd|�|||jd��|j|jd|�|||jd��|j|jd�d�dS(	Ns abc def ghitR	RiRRi����(RtjoinRtfind(RRRtsublenR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyt	test_find�s &"cCs6d}t|�}dj|d||g�}|j|jd�d�|j|j|�d�|j|jd|�||�|j|j||�||�|j|jd�|jd��|j|jd|�|||jd��|j|jd|�|||jd��|jt|jd�dS(Ns abc def ghiR?R	RiRR(RR@RtindextassertRaisest
ValueError(RRRRBR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyt
test_index�s  "cCsHd}d||}|j|j��|d7}|j|j��dS(Nt123456R3R(R4tisalnumR6(RRRR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_isalnum�s

cCsHd}d||}|j|j��|d7}|j|j��dS(NtzzzzzzzR3R(R4tisalphaR6(RRRR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_isalpha�s

cCsHd}d||}|j|j��|d7}|j|j��dS(NRHt9tz(R4tisdigitR6(RRRR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_isdigit�s

cCs�djgtd�D]$}t|�j�st|�^q�}|t|�d}||}|j|j��|d7}|j|j��dS(NR?i�iR1(R@trangetchrtisupperRR4tislowerR6(RRR&tcharstrepeatsR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_islower�s@

cCsXd}|t|�d}||}|j|j��|d7}|j|j��dS(Ns 

	iR(RR4tisspaceR6(RRt
whitespaceRWR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_isspace�s

cCssd}djdd||g�}|j|j��|d7}|j|j��|d7}|j|j��dS(NRHR?R1R3taA(R@R4tistitleR6(RRRR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_istitle�s

cCs�djgtd�D]$}t|�j�st|�^q�}|t|�d}||}|j|j��|d7}|j|j��dS(NR?i�iR3(R@RRRSRURR4RTR6(RRR&RVRWR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_isupper�s@

cCs�d|}|jddg�}|j|jd�d�|j|jd�d�|j|jd��|j|jd��dS(	NR1taaaaatbbbbbR3itbtaaaaaAtAbbbbb(R@RRR4t
startswithR5(RRRtx((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyt	test_join�s
cCsed}|j|�}|j|j|d��|jt|�|�|j|j�|j��dS(Ns abc def ghis  (tljustR4ReRRR(RRRR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyt
test_ljust�s
cCsId|}|j�}|jt|�|�|j|jd�|�dS(NR1R3(tlowerRRR(RRR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyt
test_lowers
cCs�d}|j|�}|jt|�|�|j|j�|j��~|j|�}|jt|�|�|j�}|j||k�dS(Nsabc def ghi(trjustRRR
RhR4(RRRRtstripped((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_lstripscCs�d}d|}|jd|�}|jt|�|�|j|j|�|�|j|d|d�}|jt|�|�|j|j|�d�|j|dd�dS(NR3Rii����s
      aaaa(treplaceRRR(RRtreplacementR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_replaces
cCs[d}t|�}dj|d||g�}|j|jd�|||jd��|j|j|�||�|j|jdd|�|jd��|j|j|d||�d�|j|jd�|||jd��|j|jdd|�|jd��|j|jdd||�|jd��|j|jd�d�dS(	Ns abc def ghiR?R	RiRRi����(RR@Rtrfind(RRRRBR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyt
test_rfind$s*(#*(cCs`d}t|�}dj|d||g�}|j|jd�|||jd��|j|j|�||�|j|jdd||d�|jd��|j|j|d||�d�|j|jd�|||jd��|j|jdd|�|jd��|j|jdd||�|jd��|jt|jd�dS(	Ns abc def ghiR?R	RiiRR(RR@RtrindexRERF(RRRRBR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_rindex3s #(cCsed}|j|�}|j|j|d��|jt|�|�|j|j�|j��dS(Ns abc def ghis  (RhR4ReRRR(RRRR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyt
test_rjustEs
cCs�d}|j|�}|jt|�|�|j|j�|j��~|j|�}|jt|�|�|j�}|j||k�dS(Ns abc def ghi(RhRRtrstripRlR4(RRRRRm((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_rstripMsg������@cCs�t|dd�}dd|}||}|j�}|jt|�|�|jt|�tdg��~|jd�}|jt|�|d�|jt|�tdd|g��dS(Ng�?iR3RiR?(tinttsplitRRtset(RRt	chunksizeRRtl((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_split_small\s
cCs�d|d}|j�}|jt|�|�|jt|�tdg��~|jd�}|jt|�|d�|jt|�tdg��dS(Ns aRR3i(RzRRR{(RRRR}((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_split_largeqscCs�t|dd�d}d|dd|d}||}|j�}|jt|�|d�|jt|�td|g��dS(Ng�?iRs
s
(Ryt
splitlinesRRR{(RRR|RRR}((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_splitlines|s
cCs^d}d||}|j|j|��|j|jd|��|j|j|��dS(Ns abc def ghiR	(R4ReR6(RRRR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_startswith�s
cCs�d}|j|�}|jt|�|�|j|j�|j��~|j|�}|jt|�|�|j|j�|j��dS(Ns   abc def ghi   (RlRRRRh(RRRR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyt
test_strip�scCs�d}t|�}||d}||}|j�}|jt|�||�|j||d |j�d�|j||d|j�d�dS(Ns
aBcDeFG12.'�ii(RtswapcaseR(RRRRBRWR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyt
test_swapcase�s
"cCsnd}||t|�d}|j�}|j|j|dj���|j|j|j�d��dS(Nt
SpaaHAaaAahamii(RttitleR4ReR5Rj(RRRR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyt
test_title�s
 cCs�tjdd�}d}t|�}||d}||}|j|�}|jt|�||�|j|| |j|��|j|||j|��|j|jd�d�|j|jd�|d�|j|jd�|d	�dS(
Ns.aZs-!$s
aZz.z.Aaz.iRit!ROi(tstringt	maketransRt	translateRR(RRttransRRBRWR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_translate�s
cCsId|}|j�}|jt|�|�|j|jd�|�dS(NR3R1(tupperRRR(RRR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyt
test_upper�s
icCs�d}|j|�}|j|jd|d��|j|jd��|jt|�|�|j|jd�|t|��dS(Ns-568324723598234t0is-0(tzfillR4R5ReRRR(RRRR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyt
test_zfill�scCsd|}d|f}|j||k�~d|f}|jt|�t|�d�|j|jd��|j|jd��~~|d}d|}dj|d|g�}~|d	}|jt|�|dd
�|j|jd�d
�|j|jd�|d�dS(NR	s%ss..%s..is..-s-..iR?s...iR(R4RRReR5R@R(RRRtsftedge((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_format�s"


 


cCs
d|}t|�}|jt|�|d�|j|dd�|j|dd�|j|jd�|�~d|}t|�}|jt|�|dd�|j|dd�|j|dd�|j|jd�|�|j|jd	�|d�dS(
NR	iit'i����sis\R�(treprRRR(RRR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_repr_small�s

cCs�d|}t|�}|jt|�|dd�|j|dd�|j|dd�|j|jd�|�|j|jd�|d�dS(	NsiiiR�i����s\R�(R�RRR(RRR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_repr_large�s
i cCsmtd�|}zKt|�}|jt|�dd|�|j|jd�|d�Wdd}}XdS(Niͫiis\uabcd'i����(tunichrR�RRR4R5R#(RRRtr((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_unicode_repr�s!cCsmtd�|}zKt|�}|jt|�dd|�|j|jd�|d�Wdd}}XdS(Niͫiis\uabcd'i����(R�R�RRR4R5R#(RRRR�((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_unicode_repr_oflw
s!icCsed|}|jt|�|�||}|jt|�|d�|j|jd�|d�dS(NRi(RRR(RRR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_concats


cCsed|}|jt|�|�|d}|jt|�|d�|j|jd�|d�dS(NRi(RRR(RRR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_repeat!s


cCs�d}t|�}|||}t|�d}|||}x�tdt|�||�D]�}|j|||d�|j||||!|�|j||||d�|ddd��|dkr[|j|||d|dd�||dd��q[q[W|j|t|�d|d�|j|d|d�|j|t|�d|d�|j|||d�|j|t|�d	�|j|t|�d|d�|j|d|d�|j|t|�||�|j|||�|jt|�t|��|jt|t|�d
 �t|�d
�|jt|d
d!�t|�d�|jttj|t|��|jttj|t|�d�|jttj|t|�dd>�dS(
Nt
0123456789idiiii����i����i
R?ii����i(RRRRREt
IndexErrortoperatortgetitem(RRRRBRtstepsizeR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_slice_and_getitem)s6#."""".'#cCs�d}d|d}dj|||g�}~|j||�|j|d|�|jd|�|jd|�|d7}|jd|�dS(NR�R	iR?R3(R@tassertIntassertNotIn(RRRR�R((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyt
test_containsJs
cCskd|}d|}|j||k�~|d}|j||k�~d|}|j||k�dS(NR	R3R(R4R6(RRts1R7((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_compareWs



cCsDd|}t|�}~d|d}|j|t|�k�dS(Nsi(thashR6(RRRth1((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyt	test_hashcs

NIi���*(?t__name__t
__module__RRRRRtrequires_unicodeRtcharacter_sizeRR R"R#R(R)RR+R-R/R2R8R>RCRGRJRMRQRXR[R^R_RgRiRkRnRqRsRuRvRxR~RR�R�R�R�R�R�R�R�R�R�R�R�R�RR�R�R�R�R�R�(((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR)sz	"%))---%"		
		"""""""""	"""
%
-"
""!
"t	TupleTestcBs�eZededdd�d��Zd�Zededddd�d��Zededdd�d��Zeded	d
dd�d��Zeded
dd�d
��Z	eded
dd�d��Z
d�Zededddd�d��Zededdd�d��Z
ededdd�d��Zededdd�d��Zededdd�d��Zd�Zededddd�d��Zededdd �d��ZRS(!RiRicCsod|}d|}|j||k�~d|d}|j||k�~d|}|j||k�dS(Nui(u(u(u(i(R4R6(RRtt1tt2((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR�|s


cCsHd|}|jt|�|�||}|jt|�|d�dS(Ni((((RR(RRtt((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pytbasic_concat_test�s

icCs
|j|�S(N(R�(RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_concat_small�scCs
|j|�S(N(R�(RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_concat_large�sii
icCsXd|}|jt|�|d�|jd|�|jd|�|jd|�dS(	Niiiiii(iiiii(iiiii(RRR�R�(RRR�((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR��s

cCsDd|}t|�}~d|d}|j|t|�k�dS(Nii(i(i(R�R6(RRR�R�R�((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR��s

cCsWd|}|jt|�|�|j|dd�|j|dd�|j||dd�|jttj||�|j|d d�|j|dd�|j|dd!d�|j|dd!d�|j||dd�|j||d|!d�|j||d	|d
!d�|j|||!d�|j|||d!d�dS(Ni����iii����iii��i��iii(N(N(NNNNN(N(NNNNN(N(NNNNN(N(NNNNN(N(NNNNN(N(NNNNN(N(NNNN(((R#RRRER�R�R�(RRR�((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_index_and_slice�s
cCsHd|}|jt|�|�|d}|jt|�|d�dS(NR?i(R?(RR(RRR�((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pytbasic_test_repeat�s

cCs
|j|�S(N(R�(RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_repeat_small�scCs
|j|�S(N(R�(RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_repeat_large�siicCs
|j|�S(N(R�(RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_repeat_large_2�sRi	cCsoytt|��}Wntk
r)nBXd}x(|D] }|j||�|d7}q7W|j||�dS(Nii(ttupletxrangetMemoryErrorR(RRR�Rtitem((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_from_2G_generator�s

icCsoyWtt|��}d}x(|D] }|j||�|d7}q"W|j||�Wntk
rjnXdS(Nii(R�R�RR�(RRR�RR�((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_from_almost_2G_generator�s

cCsud|}t|�}|jt|�|d�|j|d d�|j|dd�|j|jd�|�dS(	Niiis(0, 0i����s0, 0)R�(i(R�RRR(RRR�R((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pytbasic_test_repr�s
icCs
|j|�S(N(R�(RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR��scCs
|j|�S(N(R�(RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR��si(ii(R�R�RRR�R�R�R�R�R�R�R�R�R�RR�RR�R�R�R�R�(((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR�qs "	&"&""	&"""
"
		&tListTestcBs�eZededdd�d��Zd�Zededddd�d��Zededdd�d��Zd	�Zededddd�d
��Z	ededdd�d��Z
ededd
dd)�d��Zeded
dd�d��Zeded
dd�d��Z
d�Zededddd�d��Zededdd�d��Zd�Zededddd�d��Zededdd�d��Zd�Zededddd*�d��Zededdd+�d��Zededd�d��Zededddd,�d��Zd�Zededddd�d ��Zededdd�d!��Zededddd-�d"��Zeded
dd�d#��Zededd$dd.�d%��Zeded
dd�d&��Zededddd/�d'��Z ededddd0�d(��Z!RS(1RiRicCs{dg|}dg|}|j||k�~dg|d}|j||k�~dg|}|j||k�dS(Nuii(R4R6(RRtl1tl2((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR�s


cCsKgg|}|jt|�|�||}|jt|�|d�dS(Ni(RR(RRR}((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pytbasic_test_concats

icCs
|j|�S(N(R�(RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR�scCs
|j|�S(N(R�(RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR�scCsvtjg|}||7}|jt|�|d�|j|d|dk�|j||d||dk�dS(Niii����i(tsyststdoutRRR4(RRR}((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pytbasic_test_inplace_concat!s

cCs
|j|�S(N(R�(RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_inplace_concat_small(scCs
|j|�S(N(R�(RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_inplace_concat_large,sii
icCsvdddddg|}|jt|�|d�|jd|�|jdddddg|�|jd|�dS(Niiiiii(RRR�R�(RRR}((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR�0s
cCs$dg|}|jtt|�dS(Ni(REt	TypeErrorR�(RRR}((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR�8s
c	Cs�dg|}|jt|�|�|j|dd�|j|dd�|j||dd�|jttj||�|j|d dgd�|j|ddgd�|j|dd!dgd�|j|dd!dgd�|j||ddgd�|j||d|!dgd�|j||d	|d
!dgd�|j|||!g�|j|||d!g�d||d
<|jt|�|�|j|ddddg�|j|jd�d�|jttj||d	�|jt|�|�dd
d
ddg||d)|d
8}|jt|�|�|j|ddddd
d
ddg�dd
d
ddg|d*|d
8}|jt|�|�|j|d dd
d
ddddg�||d=|d8}|jt|�|�|j|dd�|d3|d
8}|jt|�|�|j|dd
�|d=|d8}|jt|�|�|j|dd
�|d
4|d
8}|jt|�|�|j|dd�dS(Ni����iii����iii��i��iiii����iii����i����i(	R#RRRER�R�R�Rtsetitem(RRR}((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR�=sZ
"&
)
)



cCsbg|}|j|�dg|}|jt|�|�|d}|jt|�|d�dS(NR?i(R6RR(RRR}((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR�us



cCs
|j|�S(N(R�(RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR�}scCs
|j|�S(N(R�(RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR��scCs�dg}||9}|jt|�|�|j|d|dk�~dg|}|d9}|jt|�|d�|j||d|dk�dS(NR?ii����ii(RRR4(RRR}((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pytbasic_test_inplace_repeat�s	


cCs
|j|�S(N(R�(RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_inplace_repeat_small�scCs
|j|�S(N(R�(RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_inplace_repeat_large�scCsxdg|}t|�}|jt|�|d�|j|d d�|j|dd�|j|jd�|�dS(Niiis[0, 0i����s0, 0]R�(R�RRR(RRR}R((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR��s
icCs
|j|�S(N(R�(RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR��scCs
|j|�S(N(R�(RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR��si	cCstt�g|}|jt��|jt|�|d�|j|d|dk�|j|d|dk�dS(Nii����i����i����(tobjecttappendRRR4R6(RRR}((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_append�s
cCsOdddddg|}|j|jd�|�|j|jd�d�dS(Niiiiit1i(RR(RRR}((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR �scCsvtg|}|j|�|jt|�|d�|j|d|dk�|j||d||dk�dS(Niii����i(tfiletextendRRR4(RRR}((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pytbasic_test_extend�s


cCs
|j|�S(N(R�(RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_extend_small�scCs
|j|�S(N(R�(RR((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_extend_large�scCs�dddddg|}|d9}|j|jd�d�|j|jd|d�|d�|j|jd|d|�|d�|jt|jd|d	|�|jt|jd
�dS(Nllllliiiil(RRDRERF(RRR}((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyRG�s
$' cCs!dg|}|j|dd�|d7}|jt|�|�|j|ddddg�|j|dd�|d7}|jt|�|�|j|ddddg�|jdd�|d7}|jt|�|�|j|d dddg�|j||ddddg�dS(Ng�?iR1i����tBtCi(tinsertRR(RRR}((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_insert�s



icCsIdddddg|}|d9}|jt|�|�|j�}|d8}|jt|�|�|j|d�|j|dddg�|jd	�}|d8}|jt|�|�|j|d�|j|d
 ddg�|j|d
�}|d8}|jt|�|�|j|d�|j|dddg�dS(Nuaubucudueiii����ii(RRtpop(RRR}R�((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_pop�s$



cCs�dg|}|jt|�|�|jd�|d8}|jt|�|�|jd�|d7}|jt|�|�|j|dddg�|jd�|d8}|jt|�|�|j|dddg�dS(Ni
iii����(RRtremoveR�(RRR}((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_remove�s






cCs�dddddg|}|j�|jt|�|d�|j|ddddddg�|j|d dddddg�dS(Niiiiii����(treverseRR(RRR}((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyttest_reverses

#cCs�dddddg|}|j�|jt|�|d�|j|jd�|�|j|d dgd�|j|ddgd�dS(Niiiiii
i����(tsortRRR(RRR}((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyt	test_sorts
i(iii(i(i(i(i(("R�R�RRR�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R R�R�R�RGR�R�R�R�R�(((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR��s<"	&"	&"&""8	&"	&"		&"&	&"&"&"&t
BufferTestcBs&eZededd�d��ZRS(RRicCs�y'tj��td�|}WdQXWntk
r:nFXd}x(|D] }|j|d�|d7}qHW|j||d�dS(NtAAAAiR1ii(Rtcheck_py3k_warningstbufferR�R(RRRbRR&((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR�&s


(R�R�RRR�(((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyR�$scCstjtttt�dS(N(Rtrun_unittestRR�R�R�(((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyt	test_main4st__main__(ttestRttest.test_supportRRRRRtunittestR�R�R�thave_unicodet
maxunicodeR�tTestCaseRR�R�R�R�R�Rtargvtset_memlimit(((s7/usr/local/python-2.7/lib/python2.7/test/test_bigmem.pyt<module>s((	��J��*	
© 2025 GrazzMean