File "test_variables.pyc"

Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyc
File size: 11.15 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit


zfc@sddlZddlZddlmZmZmZmZmZmZm	Z	dej
fdYZdefdYZdefdYZ
d	efd
YZdefdYZd
efdYZee
eeefZedkrddlmZeendS(iN(tVariablet	StringVartIntVart	DoubleVart
BooleanVartTcltTclErrortTestBasecBseZdZdZRS(cCst|_dS(N(Rtroot(tself((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pytsetUp	scCs
|`dS(N(R(R	((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyttearDowns(t__name__t
__module__R
R(((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRs	tTestVariablecBsYeZdZdZdZdZdZdZdZdZ	dZ
RS(	cGs"|jj|jjdd|S(Ntinfotexists(Rt
getbooleantcall(R	targs((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pytinfo_existsscCs?t|j}|jd|j|jt|ddS(Nts
^PY_VAR(\d+)$(RRtassertEqualtgettassertRegexpMatcheststr(R	tv((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyttest_defaultscCsEt|jdd}|jd|j|jdt|dS(Ns
sample stringtvarname(RRRRR(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyttest_name_and_valuescCs^|j|jdt|jdd}|j|jd~|j|jddS(NRs
sample string(tassertFalseRRRt
assertTrue(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyttest___del__s
cCsv|j|jdt|jdd}t|jdd}~|j|jd~|j|jddS(NRtname(RRRR(R	tv1tv2((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyttest_dont_unset_not_existing&scCsxt|jdd}t|jdd}|j||t|jdd}t|jdd}|j||dS(NR!tabc(RRRRtassertNotEqual(R	R"R#tv3tv4((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyttest___eq__0scCs-|jtt|jddWdQXdS(NR!i{(tassertRaisest	TypeErrorRR(R	((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyttest_invalid_name:sc	Cs|jtt|jddWdQX|jt|jjddWdQX|jt|jjddWdQXdS(NR!svarnametvalue(R*t
ValueErrorRRtglobalsetvartsetvar(R	((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyttest_null_in_name>scsot|j}t|}gfd}fd}|jd|}|jd|}|jt|jd|fd|fg|jg|jd|jd|ddfgg|j|jd	|ddfggt|j}|j	d||jt|j||j
t|j	ddWdQX|jt|j||j	d|d
f|jt|j||j|jd	|ddfgg|j	d||j|jd|fg|j|jgg~tj
|jd|jd|ddfgdS(Ncsjd|dS(Ntread(R2(tappend(R(ttrace(s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pytread_tracerJscsjd|dS(Ntwrite(R6(R3(R(R4(s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pytwrite_tracerLstrtwutspamR6RtwR2i+teggs(RRRttrace_variableRtsortedttrace_vinfotsetRt
trace_vdeleteR*Rtgctcollect(R	RtvnameR5R7tcb1tcb2R((R4s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt
test_traceFsF.





(RR
RRRR R$R)R,R1RG(((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRs					
	
		t
TestStringVarcBs#eZdZdZdZRS(cCs)t|j}|jd|jdS(NR(RRRR(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRzscCsXt|jdd}|jd|j|jjdd|jd|jdS(NR%R!R-(RRRRR/(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyttest_get~scCsXt|jdd}|jd|j|jjdd|jd|jdS(NsabcdefR!svalue(RRRRR/(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt
test_get_nulls(RR
RRIRJ(((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRHxs		t
TestIntVarcBs#eZdZdZdZRS(cCs)t|j}|jd|jdS(Ni(RRRR(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRscCsXt|jdd}|jd|j|jjdd|jd|jdS(Ni{R!t345iY(RRRRR/(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRIscCst|jdd}|jjdd|jt|jWdQX|jjdd|jt|jWdQXdS(NR!R-s345.0(RRR/R*R.R(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyttest_invalid_values(RR
RRIRM(((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRKs		t
TestDoubleVarcBs,eZdZdZdZdZRS(cCs)t|j}|jd|jdS(Ng(RRRR(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRscCsXt|jdd}|jd|j|jjdd|jd|jdS(NgGz?R!s3.45g@(RRtassertAlmostEqualRR/(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRIscCst|jdd}|jd|j|jjdd|jd|j|jjdd|jd|jdS(NgGz?R!s3.45g@t456i(RRRORR/(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyttest_get_from_intscCsLt|jdd}|jjdd|jt|jWdQXdS(NR!R-(RRR/R*R.R(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRMs(RR
RRIRQRM(((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRNs			tTestBooleanVarcBs,eZdZdZdZdZRS(cCs)t|j}|j|jtdS(N(RRtassertIsRtFalse(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRscCst|jtd}|j|jt|jjdd|j|jt|jjd|jjrudnd|j|jt|jjdd|j|jt|jjd|jjrdnd|j|jt|jjdd|j|jt|jjdd	|j|jt|jjdd
|j|jt|jjdd|j|jtdS(NR!t0i*iil*lltonu0uon(RRtTrueRSRR/RTtwantobjects(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRIs$((cCs|jjrdnd}|jjr0dnd}t|jdd}|jt|j|jjd||jd|j|jjd||jd|j|jjd||jd|j|jjd||jd|j|jjd||jd|j|jjd||jd	|j|jjd||jd
|j|jjd||jd|j|jjd|dS(Nit1iRUR!i*l*lRVu0uon(RRXRR@RWRtglobalgetvar(R	ttruetfalseR((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyttest_sets*








cCs|jjrdnd}t|jdd}|jt|jdWdQX|j|jjd||jjdd|jt|j	WdQX|jjdd|jt|j	WdQXdS(NiRUR!R-s1.0(
RRXRR*RR@RRZR/R(R	R\R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyttest_invalid_value_domains(RR
RRIR]R^(((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRRs			t__main__(trun_unittest(tunittestRBtTkinterRRRRRRRtTestCaseRRRHRKRNRRt	tests_guiRttest.supportR`(((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt<module>s4	h?