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

name : test_tcl.pyo
�
@��cc@s�ddlZddlZddlZddlZddlmZddlmZmZej	d�Z
ddlZddlm
Z
ddl
mZyddlmZmZWnek
r�ejZZnXeeee
jjd���Zead	�Zd
ejfd��YZdejfd
��YZej dkrCdndZ!dejfd��YZ"d�Z#d�Z$e%dkr�e$�ndS(i����N(ttest_support(tPopentPIPEt_tkinter(tTcl(tTclError(tINT_MAXtPY_SSIZE_T_MAXt.cCs�tdkr�t�}|jdd�}tjd|�}|j�\}}}}t|�t|�t|�}}}idd6dd6dd	6|}|dkr�||||d
faq�||d
||fantS(Ntinfot
patchlevels(\d+)\.(\d+)([ab.])(\d+)$talphatatbetatbtfinalRi(t_tk_patchleveltNoneRtcalltretmatchtgroupstint(ttclR
tmtmajortminortreleaseleveltserial((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pytget_tk_patchlevels	&tTkinterTestcBseZd�ZRS(cCs|jttjt�dS(N(tassertRaisest	TypeErrorRt_flattentTrue(tself((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttestFlattenLen)s(t__name__t
__module__R$(((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyR'stTclTestcBs�eZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zejejdkd�d��Zd�Zd�Z d�Z!d�Z"eje#d*kd!�d"��Z$d#�Z%d$�Z&d%�Z'd&�Z(d'�Z)d(�Z*d)�Z+RS(+cCs%t�|_|jjj�|_dS(N(Rtinterpttktwantobjects(R#((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pytsetUp0scCs3|j}|jd�|j|jd�d�dS(Nsset a 1sset at1(R(tevaltassertEqual(R#R((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttestEval4s	
cCs#|j}|jt|jd�dS(Nsset a(R(RRR-(R#R((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttestEvalException9s	cCs#|j}|jt|jd�dS(Ns
this is wrong(R(RRR-(R#R((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttestEvalException2=s	cCs<|j}|jddd�|j|jdd�d�dS(NtsetRR,(R(RR.(R#R((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttestCallAs	cCs&|j}|jt|jdd�dS(NR2R(R(RRR(R#R((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttestCallExceptionFs	cCs)|j}|jt|jddd�dS(Ntthististwrong(R(RRR(R#R((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttestCallException2Js	cCs6|j}|jdd�|j|jd�d�dS(NRR,sset a(R(tsetvarR.R-(R#R((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyt
testSetVarNs	cCs6|j}|jdd�|j|jd�d�dS(Nsa(1)R,sset a(1)(R(R9R.R-(R#R((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttestSetVarArraySs	cCs3|j}|jd�|j|jd�d�dS(Nsset a 1RR,(R(R-R.tgetvar(R#R((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyt
testGetVarXs	
cCs3|j}|jd�|j|jd�d�dS(Ns
set a(1) 1sa(1)R,(R(R-R.R<(R#R((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttestGetVarArray]s	
cCs#|j}|jt|jd�dS(NR(R(RRR<(R#R((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttestGetVarExceptionbs	cCs#|j}|jt|jd�dS(Nsa(1)(R(RRR<(R#R((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttestGetVarArrayExceptionfs	cCs\|j}|jdd�|j|jd�d�|jd�|j|jd�d�dS(NRis
info exists aR,t0(R(R9R.R-tunsetvar(R#R((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttestUnsetVarjs
	
cCs�|j}|jdd�|jdd�|j|jd�d�|j|jd�d�|jd�|j|jd�d�|j|jd�d�dS(	Nsa(1)isa(2)isinfo exists a(1)R,sinfo exists a(2)RA(R(R9R.R-RB(R#R((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttestUnsetVarArrayqs	
cCs#|j}|jt|jd�dS(NR(R(RRRB(R#R((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttestUnsetVarException{s	cCs�dddddf}tdkr:|ddddf7}nt�dkshdt�kocdknr�|dd d!d#f7}n|S($Niii����iiiii?iRii�I�i���I�i�(iiI�I�i�I�������ll����ll����(iiiR(iii(iilll����l����lClCl����(ttcl_versionR(R#tintegers((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pytget_integersscCs�|jj}x�|j�D]�}|jd|�}|j||�|j|tt|���tdkr�|j|jdj	|��|�n|j|jd|�|�|j|jd|�|�qWtdkr�|j
t|jtd��n|j|jd	�d	�|j
t
|j�|j
t
|jd
d�|j
t
|jd�|j
t|jd
�|j
t
ttf|jd�tjr�|j|jtd
��d	�|j
tttf|jd
td��ndS(Ns %d iis {:#o} s %#o s %#x ii�i*t42t10gE@Rs42i�(ii(iilC(R(R)RHtgetintR.tassertIsInstancettypeRRFtformatRRtstrR t
ValueErrorRthave_unicodetunicodetUnicodeEncodeErrortunichr(R#Rtitresult((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttest_getint�s,%!
	cCs&|jj}|j|jd�d�|j|jd�d�|j|jd�d�|jt|j�|jt|jdd�|jt|jd�|jt|jd�|jtttf|jd	�tj	r"|j|jt
d��d�|jtttf|jdtd
��ndS(Ns 42 gE@s 42.5 g@E@s42.5RJi*Rs42.5i�(
R(R)R.t	getdoubleRR RRPRRQRRRSRT(R#R((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttest_getdouble�s
	cCs�|jj}|j|jd�t�|j|jd�t�|j|jd�t�|j|jd�t�|j|jd�t�|j|jd�t�|j|jd�t�|j|jd�t�|jt|j�|jt|jdd�|jt|jd	�|jt|jd
�|jtt	tf|jd�t
jr�|j|jtd��t�|jt
t	tf|jdtd��ndS(
NtonR,uonu1i*il*lg�?Rsoni�(R(R)tassertIst
getbooleanR"tFalseRR RRPRRQRRRSRT(R#R((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttest_getboolean�s&
	cCs�|j}d}t|d�}d}|j|�|j�|j|�tj|�|j|jd�d�|j|jd�d�|j|jd�d	�dS(
NstestEvalFile.tcltws?set a 1
        set b 2
        set c [ expr $a + $b ]
        sset aR,sset bt2sset ct3(	R(topentwritetclosetevalfiletostremoveR.R-(R#Rtfilenametfdtscript((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttestEvalFile�s	



cCs�|j}ttjd��*}|jtjtj�|jd�WdQX|jtj�|j|j	d�d�|j|j	d�d�dS(Ntwbs>
            set a "ab"
            set b "a\0b"
            sset asa��bsset b(
R(RbRtTESTFNt
addCleanuptunlinkRcReR.R-(R#Rtf((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttest_evalfile_null_in_result�s	
cCsP|j}d}ytj|�Wntk
r5}nX|jt|j|�dS(Nt
doesnotexists(R(RfRgt	ExceptionRRRe(R#RRhte((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttestEvalFileException�s	cCs#|j}|jt|jd�dS(Nspackage require DNE(R(RRR-(R#R((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttestPackageRequireException�s	twin32sonly applies to Windowsc
CsStjjtj�}|ddkr9|jd|�ndtjd|d|df}tj���}|j	d�d	|f}yt
|d
tdt�}WnDtk
r�}|j
dks�|j
d
kr�|jd�q��nX|j�\}}djdd|d|d|g�}	|jd||	�|j|j�dd�WdQXdS(Nit:sunusable path: %rs\\%s\%s$\%stCOMPUTERNAMEiitTCL_LIBRARYs%%s -c "import Tkinter; print Tkinter"tstdouttstderriis(Not permitted to start the child processs

s"Tkinter.py" not in outputsCommand:sstdout:sstderr:s
Tkinter.pysNon-zero exit code(Rftpathtabspathtsyst
executabletskipTesttenvironRtEnvironmentVarGuardtunsetRRtWindowsErrortwinerrortcommunicatetjointassertInR.twait(
R#tfullnametunc_nametenvtcmdtpRttout_dataterr_datatmsg((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttestLoadWithUNC�s,


	cs��j��jddd��jddd���fd�}�jt�j��jt�jdd��jt�jd	�|d
d�|dd
�|dd�|dd�|dd�|dd�|dd�|dd�|dd�|dd�|dd�|dd�|dd�|d d!�|d"d!�|d#d$�|d%d&�|d'd&�|d(d)�td/kr�|d,td0��ndS(1NR2RiRics3�j|�}�j||��j|t�dS(N(t
exprstringR.RLRO(texprtexpectedRV(R#R(s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pytcheckss8.2s+6tspamtRAs8.2 + 6s14.2s3.1 + $as6.1s2 + "$a.$b"s5.6s4*[llength "6 2"]t8s{word one} < "word $a"s4*2 < 7shypot($a, 4)s5.0s5 / 4R,s5 / 4.0s1.25s$5 / ( [string length "abcd"] + 0.0 )s20.0/5.0s4.0s"0x03" > "2"s[string length "a½€"]Ras[string length "a\xbd\u20ac"]s"abc"tabcs"a½€"sa½€s
"a\xbd\u20ac"s"a\0b"sa��biis2**64ii@(iil(R(RRR R�RRFRO(R#R�((R#Rs4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttest_exprstrings8	


















cs��j��jddd��jddd���fd�}�jt�j��jt�jdd��jt�jd	�|d
d�|dd
�|dd�|dd�|dd�|dd�|dd�|dd�|dd�|dd�|dd�|dd�|dd�|d d!�|d"d!��jt�jd#�td)kr~|d&td*��ndS(+NR2RiRics3�j|�}�j||��j|t�dS(N(t
exprdoubleR.RLtfloat(R�R�RV(R#R(s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyR�:ss8.2s+6R�R�gs8.2 + 6gffffff,@s3.1 + $agffffff@s2 + "$a.$b"gffffff@s4*[llength "6 2"]g @s{word one} < "word $a"s4*2 < 7shypot($a, 4)g@s5 / 4g�?s5 / 4.0g�?s$5 / ( [string length "abcd"] + 0.0 )s20.0/5.0g@s"0x03" > "2"s[string length "a½€"]g@s[string length "a\xbd\u20ac"]s"abc"iis2**64ii@(iil(R(RRR R�RRFR�(R#R�((R#Rs4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttest_exprdouble6s2	














cs��j��jddd��jddd���fd�}�jt�j��jt�jdd��jt�jd	�|d
d�|dd
�|dd�|dd�|dd�|dd�|dd�|dd�|dd�|dd�|dd�|dd�|dd�|dd�|dd��jt�jd�td!kr��jt�jd �ndS("NR2RiRics3�j|�}�j||��j|t�dS(N(texprlongR.RLR(R�R�RV(R#R(s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyR�Yss8.2s+6R�R�is8.2 + 6is3.1 + $as2 + "$a.$b"is4*[llength "6 2"]is{word one} < "word $a"s4*2 < 7shypot($a, 4)s5 / 4is5 / 4.0s$5 / ( [string length "abcd"] + 0.0 )s20.0/5.0is"0x03" > "2"s[string length "a½€"]s[string length "a\xbd\u20ac"]s"abc"s2**64(ii(R(RRR R�RRF(R#R�((R#Rs4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyt
test_exprlongUs2	














cs��j��jddd��jddd���fd�}�jt�j��jt�jdd��jt�jd	�|d
t�x=d'D]5}||t�|d|t�|d|t�q�Wx=d(D]5}||t�|d|t�|d|t�q�W|dt�|dt�|dt�|dt�|dt�|dt�|dt�|dt�|dt�|dt�|dt�|d t�|d!t�|d"t��jt�jd#�td)kr�|d&t�ndS(*NR2RiRicsC�j|�}�j||��j|t��j|t�dS(N(texprbooleanR.RLRtassertNotIsInstancetbool(R�R�RV(R#R(s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyR�xss8.2s+6R�R�RAtfalsetnotoffs"%s"s{%s}R,ttruetyesRZs8.2 + 6s3.1 + $as2 + "$a.$b"s4*[llength "6 2"]s{word one} < "word $a"s4*2 < 7shypot($a, 4)s5 / 4s5 / 4.0s$5 / ( [string length "abcd"] + 0.0 )s20.0/5.0s"0x03" > "2"s[string length "a½€"]s[string length "a\xbd\u20ac"]s"abc"iis2**64(RAR�R�R�(R,R�R�RZ(ii(	R(RRR R�RR]R"RF(R#R�tvalue((R#Rs4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttest_exprbooleantsB	


















iisrequires Tcl version >= 8.5cs��j���fd�}|dt�|dt�|dt�|dt�|dt�|dt�|dt�|d	t�dS(
Ncsw�jd|�}�j�rA�j||��j|t�n2�j||tt|��f��j|t�dS(NR�(RR*R.RLRR�RO(R�R�RV(R#R(s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyR��s"R�R�RZR�R�R�s1 < 2s1 > 2(R(R"R](R#R�((R#Rs4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyt
test_booleans�s	






cCs�|j}x�|j�D]�}|jdt|��}|jr�|j||�|j|ttf�t	|�dkr�|j|t�q�q|j|t|��|j|t�qWt
dkr�|jt|jdtd	��ndS(
NR�iiiii�I�(iilC(
R(RHRROR*R.RLRtlongtabsRFRR(R#RRURV((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttest_expr_bignum�s		c	sA�fd�}�j|t��jr-tnd��j|t��jrRtnd��j|d�d��j|d�d��j|d�d��j|d�d��j|d	�d	��j|d�d��j|d
�d
��j|d�d
��j|d�d��j|d
�d
��j|d�d�x?�j�D]1}�j||��jr||n	t|��qXWtdkr��j|d�td ��nx�dddd!ddtjj	tjj
tjj	tjj
f	D]D}�jr �j||�|�q��jt||��|�q�W�jr�|td��}�j||��j|td��td���j|td��td��nR�jt|td���td���jt|td���td���j|ddd"f��jr6ddd#fnd�dS($Ncs�jjdd|�S(NR2t_(R(R(R�(R#(s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyt	passValue�sR,RAtstringsstring�s	string€u	string€ustringustring½sstringsstr��ingustringu	string½u
string€iiii�gg�?g�iig@tnantinfR`g333333@s1 2 3.4(iilClCi(g333333@(g333333@(
R.R"R*R]RHRORFRt
float_infotmintmaxR�tassertNotEqual(R#R�RURp((R#s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttest_passing_values�sB%%/	 	"'(*cs(g��fd�}�jjd|��j�jjjd�d�j��fd�}�fd�}|td�|td�|d�|d�|d	d
�|d�|d�|d
�|d
�|d�|dd�|dd�|d�|d�|d�x'�j	�D]}||t
|��qWtd#kr\|d$t
d%��nx!d&D]}||t|��qcWxKddt
jjt
jjt
jjt
jjfD]}||d|�q�W|td�d|�|td�d|�|d'd�|dd(d)d!d*fd"�dS(+Ncs�j|�|S(N(tappend(targ(RV(s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttestfunc�s
R�cs�|dkr|}n�2�jjd|�}�jt��d��j�dttf�|�d|��j|ttf�|||�dS(NR�ii(RR(RR.tlenRLRORR(R�R�teqtr(RVR#(s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyR��s	cs*�jt|�|dt|�d�dS(Ntdeltag�����|�=(tassertAlmostEqualR�R�(tactualR�(R#(s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pytfloat_eq�sR,RAR�sstring�s	string€u	string€R�ustringustring½usstr��ingustringsstr��ing€u
string€u	string½iiii�gg�?g�ig@R�R�iis5 6s1 2 {3 4} {5 6} {}(iilClC(gg�?g�((i(ii((R(t
createcommandRnR)t
deletecommandRR.R"R]RHRORFtreprRR�R�R�R�(R#R�R�R�RURp((RVR#s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttest_user_command�sD

















cCs�|jjj}|jjj}|jt|�|jt|dd�|jt|d�dd#fdd$fdd%fdd&fdd'fd
d(fdd)fd
d*fdd+fdd,fdd-fd.d/fdd0fd1d2fdd3fd4d5fd6d7f|dddd8�|jrddd9fnd:fg}td;kr�|jsDd<}n*t�d=kr\d>}ndddd?f}||d d!dddd@�|fg7}nx*|D]"\}}|j	||�|�q�W|jt
|d"�dS(ANRRiR`R�s{}s""s
a
 b	
 c
 tcu
a
 b	
 c
 sa €s€ua €s	a��b c��dsa��bsc��dsa {b c}sb csa b\ csa 2sa 3.4s3.4g333333@tlistiR,iit12u€itdicttcreatet{(R`((R�(R�(RRR�(RRR�(Rs€(Rs€(sa��bsc��d(Rsb c(Rsb c(Rsb c(Rsb c(RR`(Ri(Ri(Rs3.4(Rg333333@(Rg333333@(((g333333@(g333333@(R,R`s3.4(ii(R�s€s€s3.4(iii(R�u€u€s3.4(g333333@(g333333@(R(R)t	splitlistRRR R*RFRR.R(R#R�Rt	testcasesR�R�tres((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttest_splitlistsJ																				cCs�|jjj}|jjj}|jt|�|jt|dd�|jt|d�d$d%d&d'd(d	d)fdd*fdd+fdd,fd-dd.fddd/ffddd0ffd1dd2ffd3dd4ffdd5fd6d7fdd8fd9d:fdd;fdd<ffd=d>f|dddd?�|jr>ddd@fndAfg}tdBkr�|jshdC}n*t�dDkr�dE}nd!d d dFf}||d"d#d!d d
dG�|fg7}nx*|D]"\}}|j	||�|�q�WdS(HNRRiR`R�s{}s""R�s
a
 b	
 c
 R�u
a
 b	
 c
 sa €s€ua €sa��bs	a��b c��dsc��dsa {b c}sa b\ csb cub csa 2sa 3.4s3.4g333333@R�iR,iiR�u€iR�R�(R`R`(R�R�(s{}R�(s""R�(R�R�(RRR�(RRR�(Rs€(Rs€(sa��bsa��b(sa��bsc��d(RR�(RR�(Rsb c(RR�(Rub c(RR�(RR`(Ri(Ri(Rs3.4(Rg333333@(Rg333333@(ig333333@(ig333333@(((g333333@(g333333@(R,R`s3.4(ii(R�s€s€s3.4(iii(R�u€u€s3.4(g333333@(g333333@(
R(R)tsplitRRR R*RFRR.(R#R�RR�R�R�R�((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyt
test_splitFsP													c	Cstj}|jj}d}|j|||t�idd6dd6dd6�|j|||�idd6dd	6dd6�dddddd
f}|j|||t�idd6dd6d
d6�|j|||�idd6dd	6d
d6�|jt||d�|jt||d�|jddddddd�}|j|||�i|j	rbdndd6dd	6dd6�t
dkr|jdddddddd�}|j	s�t�d kr�idd6dd	6dd6}nid!d6dd	6dd6}|j|||�|�ndS("Ns#-a {1 2 3} -something foo status {}s1 2 3s-atfoos
-somethingR�tstatusRt	somethingiiis{}s-a b -c Rs-cR�iiR�R�(iii(iii(iii(s-aRs-c(iii((iii(ii(iii((iii(iii(ttkintert
_splitdictR(R)R.R]RtRuntimeErrorRR*RFR(R#t	splitdictRR�R�((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttest_splitdictus4		cs-tj��jj��fd�����fd�}|d�|d�|d�|d�|d�|d�|d	�|d
�|d�|d�|d
�|d�|d�|d�|d�|d�|d�|d�|d�|d�|d�|d�|d�|d�dS(Ncs�jd|d�S(Ntlindexi(R(ts(R(s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pytunpack�scs��j��|g��|��j��|dg��|��j���|gg���|��j���|dgg���|��j���|gdg���|��j���|dgdg���|�dS(Ni(R.(R�(R�R#R�(s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyR��s"(++R�R�ssp amssp	amssp
ams 	
s{spam}s{sp am}s"spam"s"sp am"s{"spam"}s"{spam}"ssp\ams"sp\am"s	"{}" "{}"s"\s"{s"}s
\s
{s
}s\
s{
s}
(R�t_joinR(R)(R#R�((R�R#RR�s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyt	test_join�s8	






















(ii(,R%R&R+R/R0R1R3R4R8R:R;R=R>R?R@RCRDRERHRWRYR^RkRqRuRvtunittestt
skipUnlessRtplatformR�R�R�R�R�RFR�R�R�R�R�R�R�R�(((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyR'.sJ															
		
								$%	"			(!		(	3	,	/	#i��iit
BigmemTclTestc
Bs�eZd�Zejejeekd�ej	dedddde
�d����Zejejejd�ejeekd�ej	deddd	e
d	de
�d
�����Zejejeekd�ej	dedddde
�d����Zejejejd�ejeekd�ej	deddd	e
d
de
�d�����Zd�ZRS(cCst�|_dS(N(RR((R#((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyR+�ssneeds UINT_MAX < SIZE_MAXtsizeitmemuseitdry_runcCs-d|}|jt|jjdd|�dS(Nt R2R�(Rt
OverflowErrorR(R(R#R�R�((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttest_huge_string_call�s
srequires unicode supporticCs3td�|}|jt|jjdd|�dS(NR�R2R�(RRRR�R(R(R#R�R�((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttest_huge_unicode_call�si	cCsdd|}|j|�dS(NR,R�(tcheck_huge_string_builtins(R#R�R�((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttest_huge_string_builtins�sicCs%tdd|�}|j|�dS(NR,R�(RRR�(R#R�R�((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyttest_huge_unicode_builtins�scCs�|jj}|jt|j|�|jt|j|�|jt|j|�|jt|j|�|jt|j|�|jt|j	|�|jt|j
|�|jt|j|dd�|jt|jd|d�|jt|j|�|jt|jd|�|jt|j
|�|jt|j|�|jt|j|�|jt|j|�|jt|j|�|jt|j|t�|jt|j|�dS(NtxR(R(R)RR�RKRXR\R-RetrecordtadderrorinfoR9RBR�R�R�R�R�R�R�R�(R#R�R)((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyR��s&(R%R&R+Rtcpython_onlyR�R�RRtprecisionbigmemtestR]R�RQtcharacter_sizeR�R�R�R�(((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyR��s(	11cCs.tjr*t�}dG|jdd�GHndS(Nspatchlevel =R	R
(RtverboseRR(R((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pytsetUpModule�s		cCstjttt�dS(N(Rtrun_unittestR'RR�(((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyt	test_mainst__main__(&R�RRRfttestRt
subprocessRRt
import_moduleRtTkinterR�RRt	_testcapiRRtImportErrortmaxsizettupletmapRtTCL_VERSIONR�RFRRRtTestCaseRR't
maxunicodeR�R�R�R�R%(((s4/usr/local/python-2.7/lib/python2.7/test/test_tcl.pyt<module>s4
!	���>		
© 2025 GrazzMean