File "test_autocomplete.pyc"

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


V~gc@sddlZddlmZddlmZmZddljZddl	j
Zddlm
Z
ddlmZdddYZ
ddd	YZd
ejfdYZedkrejd
dndS(iN(trequires(tTktText(tFunc(tEventtAutoCompleteWindowcBseZdZRS(cCsdS(N((((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autocomplete.pytcompletes(t__name__t
__module__R(((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyR
stDummyEditwincBseZdZRS(cCs1||_||_d|_d|_t|_dS(Ni(trootttexttindentwidthttabwidthtTruetcontext_use_ps1(tselfR
R((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyt__init__s
				(RRR(((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyR	stAutoCompleteTestcBseZedZedZdZdZdZdZdZ	dZ
dZd	Zd
Z
dZdZd
ZRS(cCsDtdt|_t|j|_t|j|j|_dS(Ntgui(RRR
RRR	teditor(tcls((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyt
setUpClasss
cCs#|`|`|jj|`dS(N(RRR
tdestroy(R((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyt
tearDownClass s
cCs/|jjjddtj|j|_dS(Ns1.0tend(RRtdeletetactAutoCompletetautocomplete(R((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autocomplete.pytsetUp&scCs|j|jj|jdS(N(tassertEqualRteditwinR(R((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyt	test_init*scCs&|jj}|j|tjdS(N(Rt_make_autocomplete_windowtassertIsInstancetacwR(Rttestwin((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_make_autocomplete_window-scCs9|jj|j_|jj|j|jjdS(N(RR"tautocompletewindowt_remove_autocomplete_windowtassertIsNone(R((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_remove_autocomplete_window1s
cCsEt}||j_|jjd|j|jtttfdS(Ntevent(RRtopen_completionstforce_open_completions_eventRtargsRtFalse(Rto_cs((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyt!test_force_open_completions_event7s	cCs|j}|j}|jj}t}||_|d||jd|jjdd|d||jt	t	t	df|jj
dd|jjdd|d||jt	t	t	dfdS(NR+s1.0sre.iRs"./Lib/i(RRttry_open_completions_eventRt_open_completions_laterR.tNoneRtinsertR/R(RtEqualRttrycompletionsto_c_l((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_try_open_completions_event>s				


cCs|j}|j}tdt}|j|j||`|jjdd||jj|d|j	t
}||_||jj|d||j
tttft|_||jj|d||j
tttfdS(Ntmc_states1.0sre.tbreak(RRRRR)tautocomplete_eventR:RR5R(RR,R4R.R/tresult(RR6RtevR0((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_autocomplete_eventTs		
			cCsdS(N((R((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_open_completions_laternscCsdS(N((R((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_delayed_open_completionsrscCsdS(N((R((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_open_completionsxscCsdS(N((R((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_fetch_completions}scCsdS(N((R((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_get_entitys(RRtclassmethodRRRR!R&R*R1R9R?R@RARBRCRD(((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyRs											t__main__t	verbosityi(((tunittestttest.test_supportRtTkinterRRtidlelib.AutoCompleteRRtidlelib.AutoCompleteWindowRR$tidlelib.idle_test.mock_idleRtidlelib.idle_test.mock_tkRR	tTestCaseRRtmain(((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyt<module>s	t