ROOTPLOIT
Server: LiteSpeed
System: Linux server71.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: niphet (1079)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: //lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyo
ó
zfc@sddlZddlZddlmZmZmZmZmZmZm	Z	dej
fd„ƒYZdefd„ƒYZdefd„ƒYZ
d	efd
„ƒYZdefd„ƒYZd
efd„ƒYZee
eeefZedkrddlmZeeŒndS(iÿÿÿÿN(tVariablet	StringVartIntVart	DoubleVart
BooleanVartTcltTclErrortTestBasecBseZd„Zd„ZRS(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TestVariablecBsYeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
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|ƒdƒdS(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|jdƒƒt|jddƒ}|j|jdƒƒ~|j|jdƒƒdS(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|jdƒƒt|jddƒ}t|jddƒ}~|j|jdƒƒ~|j|jdƒƒdS(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-|jtƒt|jddƒWdQXdS(NR!i{(tassertRaisest	TypeErrorRR(R	((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyttest_invalid_name:sc	Cs|jtƒt|jddƒWdQX|jtƒ|jjddƒWdQX|jtƒ|jjddƒWdQXdS(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|ƒ}g‰‡fd†}‡fd†}|jd|ƒ}|jd|ƒ}|jt|jƒƒd|fd|fgƒ|jˆgƒ|jdƒ|jˆd|ddfgƒg‰|jƒ|jˆd	|ddfgƒg‰t|jƒƒ}|j	d|ƒ|jt|jƒƒ|ƒ|j
tƒ|j	ddƒWdQX|jt|jƒƒ|ƒ|j	d|d
fƒ|jt|jƒƒ|ƒ|jƒ|jˆd	|ddfgƒg‰|j	d|ƒ|j|jƒd|fgƒ|jƒ|jˆgƒg‰~tj
ƒ|jdƒ|jˆd|ddfgƒdS(Ncsˆjd|ƒdS(Ntread(R2(tappend(R(ttrace(s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pytread_tracerJscsˆjd|ƒ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#eZd„Zd„Zd„ZRS(cCs)t|jƒ}|jd|jƒƒdS(NR(RRRR(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRzscCsXt|jddƒ}|jd|jƒƒ|jjddƒ|jd|jƒƒdS(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|jƒƒdS(NsabcdefR!svalue(RRRRR/(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt
test_get_null„s(RR
RRIRJ(((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRHxs		t
TestIntVarcBs#eZd„Zd„Zd„ZRS(cCs)t|jƒ}|jd|jƒƒdS(Ni(RRRR(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRscCsXt|jddƒ}|jd|jƒƒ|jjddƒ|jd|jƒƒdS(Ni{R!t345iY(RRRRR/(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRI‘scCst|jddƒ}|jjddƒ|jtƒ|jƒWdQX|jjddƒ|jtƒ|jƒWdQXdS(NR!R-s345.0(RRR/R*R.R(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyttest_invalid_value—s(RR
RRIRM(((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRK‹s		t
TestDoubleVarcBs,eZd„Zd„Zd„Zd„ZRS(cCs)t|jƒ}|jd|jƒƒdS(Ng(RRRR(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyR£scCsXt|jddƒ}|jd|jƒƒ|jjddƒ|jd|jƒƒdS(Ng®Gáz®ó?R!s3.45gš™™™™™@(RRtassertAlmostEqualRR/(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRI§scCst|jddƒ}|jd|jƒƒ|jjddƒ|jd|jƒƒ|jjddƒ|jd|jƒƒdS(Ng®Gáz®ó?R!s3.45gš™™™™™@t456iÈ(RRRORR/(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyttest_get_from_int­scCsLt|jddƒ}|jjddƒ|jtƒ|jƒWdQXdS(NR!R-(RRR/R*R.R(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRMµs(RR
RRIRQRM(((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRN¡s			tTestBooleanVarcBs,eZd„Zd„Zd„Zd„ZRS(cCs)t|jƒ}|j|jƒtƒdS(N(RRtassertIsRtFalse(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyR¾scCs¡t|jtdƒ}|j|jƒtƒ|jjddƒ|j|jƒtƒ|jjd|jjƒrudndƒ|j|jƒtƒ|jjddƒ|j|jƒtƒ|jjd|jjƒrÜdndƒ|j|jƒtƒ|jjddƒ|j|jƒtƒ|jjdd	ƒ|j|jƒtƒ|jjdd
ƒ|j|jƒtƒ|jjddƒ|j|jƒtƒdS(NR!t0i*iil*lltonu0uon(RRtTrueRSRR/RTtwantobjects(R	R((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRIÂs$((cCsÀ|jjƒrdnd}|jjƒr0dnd}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_setÖs*








cCsÙ|jjƒrdnd}t|jddƒ}|jtƒ|jdƒWdQX|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_domainís(RR
RRIR]R^(((s?/usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRR¼s			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?