asda?‰PNG  IHDR ? f ??C1 sRGB ??é gAMA ±? üa pHYs ? ??o¨d GIDATx^íüL”÷e÷Y?a?("Bh?_ò???¢§?q5k?*:t0A-o??¥]VkJ¢M??f?±8\k2íll£1]q?ù???T  {fc@sddlZddlmZddlmZmZddljZddl j Z ddl m Z ddlmZdddYZ ddd YZd ejfd YZed krejd dndS(iN(trequires(tTktText(tFunc(tEventtAutoCompleteWindowcBseZdZRS(cCsdS(N((((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pytcomplete s(t__name__t __module__R(((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyR st DummyEditwincBseZdZRS(cCs1||_||_d|_d|_t|_dS(Ni(trootttextt indentwidthttabwidthtTruetcontext_use_ps1(tselfR R ((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyt__init__s     (RRR(((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyR stAutoCompleteTestcBseZedZedZdZdZdZdZdZ dZ dZ d Z d Z d Zd Zd ZRS(cCsDtdt|_t|j|_t|j|j|_dS(Ntgui(RRR RR R teditor(tcls((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyt setUpClasss  cCs#|`|`|jj|`dS(N(RR R tdestroy(R((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyt tearDownClass s  cCs/|jjjddtj|j|_dS(Ns1.0tend(RR tdeletetact AutoCompletet autocomplete(R((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pytsetUp&scCs|j|jj|jdS(N(t assertEqualRteditwinR(R((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyt test_init*scCs&|jj}|j|tjdS(N(Rt_make_autocomplete_windowtassertIsInstancetacwR(Rttestwin((s;/usr/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((s;/usr/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((s;/usr/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.tNoneR tinsertR/R(RtEqualRttrycompletionsto_c_l((s;/usr/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:R R5R(RR,R4R.R/tresult(RR6RtevR0((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_autocomplete_eventTs      cCsdS(N((R((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_open_completions_laternscCsdS(N((R((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_delayed_open_completionsrscCsdS(N((R((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_open_completionsxscCsdS(N((R((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_fetch_completions}scCsdS(N((R((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyttest_get_entitys(RRt classmethodRRRR!R&R*R1R9R?R@RARBRCRD(((s;/usr/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(((s;/usr/lib64/python2.7/idlelib/idle_test/test_autocomplete.pyts  t