404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@18.218.117.12: ~ $
�
{fc@s�dZddlZddlmZddlmZmZddlmZddd��YZ	ddd	��YZ
d
ejfd��YZe
dkr�ejd
d�ndS(sTest idlelib.ParenMatch.i����N(trequires(tTktText(t
ParenMatchtMockcBs,eZd�Zd�Zd�Zd�ZRS(cOs
t|_dS(N(tFalsetcalled(tselftargstkwargs((s9/usr/lib64/python2.7/idlelib/idle_test/test_parenmatch.pyt__init__scOs
t|_dS(N(tTrueR(RRR	((s9/usr/lib64/python2.7/idlelib/idle_test/test_parenmatch.pyt__call__scOs
t|_dS(N(RR(RRR	((s9/usr/lib64/python2.7/idlelib/idle_test/test_parenmatch.pyt
reset_mockscOsdS(N((RRR	((s9/usr/lib64/python2.7/idlelib/idle_test/test_parenmatch.pytafters(t__name__t
__module__R
RR
R(((s9/usr/lib64/python2.7/idlelib/idle_test/test_parenmatch.pyR
s			tDummyEditwincBseZd�ZRS(cCs(||_d|_d|_t|_dS(Ni(ttexttindentwidthttabwidthRtcontext_use_ps1(RR((s9/usr/lib64/python2.7/idlelib/idle_test/test_parenmatch.pyR
s			(RRR
(((s9/usr/lib64/python2.7/idlelib/idle_test/test_parenmatch.pyRstParenMatchTestcBsSeZed��Zed��Zd�Zd�Zd�Zd�Zd�Z	RS(cCsMtd�t�|_t|j�|_t|j�|_t�|j_dS(Ntgui(	RRtrootRRRteditwinRt
text_frame(tcls((s9/usr/lib64/python2.7/idlelib/idle_test/test_parenmatch.pyt
setUpClass!s

cCs#|`|`|jj�|`dS(N(RRRtdestroy(R((s9/usr/lib64/python2.7/idlelib/idle_test/test_parenmatch.pyt
tearDownClass)s
cCs|jjdd�dS(Ns1.0tend(Rtdelete(R((s9/usr/lib64/python2.7/idlelib/idle_test/test_parenmatch.pyttearDown/scCs�|j}t|j�}|jd�|jdd�|jd�|jd|j��|j|j	dd�d
�|jdd
�|j
�|jd|j��|j|j	dd�d�|j
d�|j|j	dd�d�dS(s:
        Test ParenMatch with 'expression' style.
        t
expressiontinsertsdef foobar(a, btevents<<parenmatch-check-restore>>tparenRs1.10s1.15t)s1.16N(s1.10s1.15((s1.10s1.16(RRRt	set_styleR#tflash_paren_eventtassertInt
event_infotassertTupleEqualt
tag_prevranget
restore_eventtassertNotIntassertEqualtparen_closed_event(RRtpm((s9/usr/lib64/python2.7/idlelib/idle_test/test_parenmatch.pyttest_paren_expression2s	



cCs�|j}t|j�}|jd�|jdd�|jd�|jd|j��|j|j	dd�d�|jdd
�|j
�|jd|j��|j|j	dd�d
�dS(s7
        Test ParenMatch with 'default' style.
        tdefaultR#sdef foobar(a, bR$s<<parenmatch-check-restore>>R%Rs1.10s1.11R&N(s1.10s1.11((
RRRR'R#R(R)R*R+R,R-R.R/(RRR1((s9/usr/lib64/python2.7/idlelib/idle_test/test_parenmatch.pyttest_paren_defaultIs	


cCs�|j}t|j�}|jdd�|j|jd��|jdd�|j|jd��|j|jd��|jdd�|j|jd��dS(s�
        Test corner cases in flash_paren_event and paren_closed_event.

        These cases force conditional expression and alternate paths.
        R#s# this is a commen)R$s
defs	 a, *arg)N(RRRR#tassertIsNoneR0R((RRR1((s9/usr/lib64/python2.7/idlelib/idle_test/test_parenmatch.pyttest_paren_corner[s	cCslt|j�}t�|_|jd�|j|jj�|jj�|jd�|j|jj�dS(Nii(	RRRR-thandle_restore_timert
assertTrueRR
tassertFalse(RR1((s9/usr/lib64/python2.7/idlelib/idle_test/test_parenmatch.pyttest_handle_restore_timerns


(
RRtclassmethodRRR!R2R4R6R:(((s9/usr/lib64/python2.7/idlelib/idle_test/test_parenmatch.pyRs				t__main__t	verbosityi(((t__doc__tunittestttest.test_supportRtTkinterRRtidlelib.ParenMatchRRRtTestCaseRRtmain(((s9/usr/lib64/python2.7/idlelib/idle_test/test_parenmatch.pyt<module>s
Y

Filemanager

Name Type Size Permission Actions
README.txt File 5.36 KB 0644
__init__.py File 650 B 0644
__init__.pyc File 915 B 0644
__init__.pyo File 915 B 0644
htest.py File 13.46 KB 0644
htest.pyc File 12.3 KB 0644
htest.pyo File 12.3 KB 0644
mock_idle.py File 1.56 KB 0644
mock_idle.pyc File 2.81 KB 0644
mock_idle.pyo File 2.81 KB 0644
mock_tk.py File 11.3 KB 0644
mock_tk.pyc File 12.07 KB 0644
mock_tk.pyo File 12.07 KB 0644
test_autocomplete.py File 4.81 KB 0644
test_autocomplete.pyc File 5.72 KB 0644
test_autocomplete.pyo File 5.72 KB 0644
test_autoexpand.py File 4.03 KB 0644
test_autoexpand.pyc File 4.69 KB 0644
test_autoexpand.pyo File 4.69 KB 0644
test_calltips.py File 6.97 KB 0644
test_calltips.pyc File 11.85 KB 0644
test_calltips.pyo File 11.85 KB 0644
test_config_name.py File 2.41 KB 0644
test_config_name.pyc File 3.92 KB 0644
test_config_name.pyo File 3.92 KB 0644
test_configdialog.py File 782 B 0644
test_configdialog.pyc File 1.62 KB 0644
test_configdialog.pyo File 1.62 KB 0644
test_delegator.py File 1.26 KB 0644
test_delegator.pyc File 1.29 KB 0644
test_delegator.pyo File 1.29 KB 0644
test_editmenu.py File 3.09 KB 0644
test_editmenu.pyc File 4.33 KB 0644
test_editmenu.pyo File 4.33 KB 0644
test_formatparagraph.py File 14.01 KB 0644
test_formatparagraph.pyc File 13.98 KB 0644
test_formatparagraph.pyo File 13.98 KB 0644
test_grep.py File 2.7 KB 0644
test_grep.pyc File 3.67 KB 0644
test_grep.pyo File 3.67 KB 0644
test_helpabout.py File 1.57 KB 0644
test_helpabout.pyc File 2.31 KB 0644
test_helpabout.pyo File 2.31 KB 0644
test_hyperparser.py File 5.55 KB 0644
test_hyperparser.pyc File 6.58 KB 0644
test_hyperparser.pyo File 6.58 KB 0644
test_idlehistory.py File 5.37 KB 0644
test_idlehistory.pyc File 7.95 KB 0644
test_idlehistory.pyo File 7.95 KB 0644
test_io.py File 9.28 KB 0644
test_io.pyc File 11.26 KB 0644
test_io.pyo File 11.26 KB 0644
test_parenmatch.py File 3.73 KB 0644
test_parenmatch.pyc File 5.33 KB 0644
test_parenmatch.pyo File 5.33 KB 0644
test_pathbrowser.py File 940 B 0644
test_pathbrowser.pyc File 1.45 KB 0644
test_pathbrowser.pyo File 1.45 KB 0644
test_rstrip.py File 1.58 KB 0644
test_rstrip.pyc File 1.73 KB 0644
test_rstrip.pyo File 1.73 KB 0644
test_searchdialogbase.py File 5.73 KB 0644
test_searchdialogbase.pyc File 6.67 KB 0644
test_searchdialogbase.pyo File 6.67 KB 0644
test_searchengine.py File 11.22 KB 0644
test_searchengine.pyc File 12.35 KB 0644
test_searchengine.pyo File 12.35 KB 0644
test_text.py File 6.59 KB 0644
test_text.pyc File 7.96 KB 0644
test_text.pyo File 7.96 KB 0644
test_textview.py File 2.74 KB 0644
test_textview.pyc File 4.42 KB 0644
test_textview.pyo File 4.42 KB 0644
test_warning.py File 2.69 KB 0644
test_warning.pyc File 3.21 KB 0644
test_warning.pyo File 3.21 KB 0644
test_widgetredir.py File 4.08 KB 0644
test_widgetredir.pyc File 6.23 KB 0644
test_widgetredir.pyo File 6.23 KB 0644