File "test_autoexpand.pyc"

Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyc
File size: 4.85 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit


V~gc@sdZddlZddlmZddlmZmZddlmZdd
dYZ	dej
fd	YZed
krej
ddndS(s!Unit tests for idlelib.AutoExpandiN(trequires(tTexttTk(t
AutoExpandt
Dummy_EditwincBseZdZRS(cCs
||_dS(N(ttext(tselfR((sF/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt__init__s(t__name__t
__module__R(((sF/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyR	stAutoExpandTestcBs\eZedZedZdZdZdZdZdZ	dZ
RS(cCsedttkr=tdt|_t|j|_nt|_tt|j|_dS(NtTkintertgui(	tstrRRRttkRRRtauto_expand(tcls((sF/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt
setUpClasss
cCs5|`|`t|dr1|jj|`ndS(NR(RRthasattrRtdestroy(R((sF/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt
tearDownClasss
cCs|jjdddS(Ns1.0tend(Rtdelete(R((sF/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyttearDown!scCs|j}|jj}|j}||d|jdd||d|jdd||d|jdd||d|jdd||d|jdd||d	|jd
d||d|jdd||ddS(
Nttinsertttthistthist tiss
sample
stringtstrings3.0s1.0R(RRtgetprevwordtassertEqualRR(RRtprevioustequal((sF/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyttest_get_prevword$s$		cCs|jj}|jj}|j}|jjdd||jjddddg|d||d|d||d|d||d|d||ddS(NRsab ac bx ad ab atabtadtactatevent(RR texpand_word_eventR!RRtgetwords(RR"texpandR#((sF/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyttest_before_only@s	"



cCs|j}|jj}|jj}|j}|jdd|jdd||jjddddg|d||d|d||d|d||d|d||ddS(	NRs a, [ab] ac: () bx"" cd ac= ad yas1.1R%R'R&R(R)(RRR R*R!Rtmark_setR+(RRR"R,R#((sF/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyttest_after_onlyPs		"



cCs|j}|jj}|jj}|j}|jdd|jdd|jdd||jjdddg|d||d|d||d|d||ddS(	NRs	ab xy yz
s
a ac by acs2.1R%R'R(R)(RRR R*R!RR.R+(RRR"R,R#((sF/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyttest_both_before_aftercs		


cCs|j}|jj}|j}||jjg||dd|jdd||jjg|jdd|jdd|d|jj}|jdd|d|jj}|j||dS(NR)tbreakRs
bx cy dz asac xy a ac ad as1.7s1.end(	RRR*R!R+RR.tstatetassertNotEqual(RRR,R#t
initial_statet	new_state((sF/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyttest_other_expand_casesus		

(RR	tclassmethodRRRR$R-R/R0R6(((sF/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyR
s
					t__main__t	verbosityi((t__doc__tunittestttest.test_supportRRRRtidlelib.AutoExpandRRtTestCaseR
Rtmain(((sF/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt<module>s~