SILENT KILLERPanel

Current Path: > > opt > alt > python27 > lib64 > python2.7 > idlelib > idle_test


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/alt/python27/lib64/python2.7/idlelib/idle_test

NameTypeSizeLast ModifiedActions
README.txt File 5492 bytes January 08 2025 10:43:10.
__init__.py File 650 bytes January 08 2025 10:43:10.
__init__.pyc File 941 bytes January 08 2025 10:43:10.
__init__.pyo File 941 bytes January 08 2025 10:43:10.
htest.py File 13779 bytes January 08 2025 10:43:10.
htest.pyc File 12652 bytes January 08 2025 10:43:10.
htest.pyo File 12652 bytes January 08 2025 10:43:10.
mock_idle.py File 1597 bytes January 08 2025 10:43:10.
mock_idle.pyc File 3009 bytes January 08 2025 10:43:10.
mock_idle.pyo File 3009 bytes January 08 2025 10:43:10.
mock_tk.py File 11574 bytes January 08 2025 10:43:10.
mock_tk.pyc File 12713 bytes January 08 2025 10:43:10.
mock_tk.pyo File 12713 bytes January 08 2025 10:43:10.
test_autocomplete.py File 4922 bytes January 08 2025 10:43:09.
test_autocomplete.pyc File 6120 bytes January 08 2025 10:43:10.
test_autocomplete.pyo File 6120 bytes January 08 2025 10:43:10.
test_autoexpand.py File 4122 bytes January 08 2025 10:43:10.
test_autoexpand.pyc File 4962 bytes January 08 2025 10:43:10.
test_autoexpand.pyo File 4962 bytes January 08 2025 10:43:10.
test_calltips.py File 7140 bytes January 08 2025 10:43:10.
test_calltips.pyc File 12768 bytes January 08 2025 10:43:10.
test_calltips.pyo File 12768 bytes January 08 2025 10:43:10.
test_config_name.py File 2472 bytes January 08 2025 10:43:10.
test_config_name.pyc File 4181 bytes January 08 2025 10:43:09.
test_config_name.pyo File 4181 bytes January 08 2025 10:43:09.
test_configdialog.py File 782 bytes January 08 2025 10:43:10.
test_configdialog.pyc File 1720 bytes January 08 2025 10:43:09.
test_configdialog.pyo File 1720 bytes January 08 2025 10:43:09.
test_delegator.py File 1294 bytes January 08 2025 10:43:10.
test_delegator.pyc File 1358 bytes January 08 2025 10:43:10.
test_delegator.pyo File 1358 bytes January 08 2025 10:43:10.
test_editmenu.py File 3167 bytes January 08 2025 10:43:10.
test_editmenu.pyc File 4569 bytes January 08 2025 10:43:10.
test_editmenu.pyo File 4569 bytes January 08 2025 10:43:10.
test_formatparagraph.py File 14344 bytes January 08 2025 10:43:09.
test_formatparagraph.pyc File 14708 bytes January 08 2025 10:43:10.
test_formatparagraph.pyo File 14708 bytes January 08 2025 10:43:10.
test_grep.py File 2762 bytes January 08 2025 10:43:10.
test_grep.pyc File 3903 bytes January 08 2025 10:43:10.
test_grep.pyo File 3903 bytes January 08 2025 10:43:10.
test_helpabout.py File 1611 bytes January 08 2025 10:43:10.
test_helpabout.pyc File 2441 bytes January 08 2025 10:43:10.
test_helpabout.pyo File 2441 bytes January 08 2025 10:43:10.
test_hyperparser.py File 5684 bytes January 08 2025 10:43:10.
test_hyperparser.pyc File 6942 bytes January 08 2025 10:43:10.
test_hyperparser.pyo File 6942 bytes January 08 2025 10:43:10.
test_idlehistory.py File 5495 bytes January 08 2025 10:43:09.
test_idlehistory.pyc File 8480 bytes January 08 2025 10:43:10.
test_idlehistory.pyo File 8480 bytes January 08 2025 10:43:10.
test_io.py File 9505 bytes January 08 2025 10:43:09.
test_io.pyc File 11949 bytes January 08 2025 10:43:10.
test_io.pyo File 11949 bytes January 08 2025 10:43:10.
test_parenmatch.py File 3822 bytes January 08 2025 10:43:10.
test_parenmatch.pyc File 5664 bytes January 08 2025 10:43:10.
test_parenmatch.pyo File 5664 bytes January 08 2025 10:43:10.
test_pathbrowser.py File 940 bytes January 08 2025 10:43:10.
test_pathbrowser.pyc File 1537 bytes January 08 2025 10:43:09.
test_pathbrowser.pyo File 1537 bytes January 08 2025 10:43:09.
test_rstrip.py File 1613 bytes January 08 2025 10:43:10.
test_rstrip.pyc File 1825 bytes January 08 2025 10:43:09.
test_rstrip.pyo File 1825 bytes January 08 2025 10:43:09.
test_searchdialogbase.py File 5863 bytes January 08 2025 10:43:10.
test_searchdialogbase.pyc File 7035 bytes January 08 2025 10:43:10.
test_searchdialogbase.pyo File 7035 bytes January 08 2025 10:43:10.
test_searchengine.py File 11487 bytes January 08 2025 10:43:10.
test_searchengine.pyc File 13117 bytes January 08 2025 10:43:10.
test_searchengine.pyo File 13117 bytes January 08 2025 10:43:10.
test_text.py File 6744 bytes January 08 2025 10:43:10.
test_text.pyc File 8395 bytes January 08 2025 10:43:09.
test_text.pyo File 8395 bytes January 08 2025 10:43:09.
test_textview.py File 2802 bytes January 08 2025 10:43:10.
test_textview.pyc File 4713 bytes January 08 2025 10:43:10.
test_textview.pyo File 4713 bytes January 08 2025 10:43:10.
test_warning.py File 2757 bytes January 08 2025 10:43:10.
test_warning.pyc File 3390 bytes January 08 2025 10:43:10.
test_warning.pyo File 3390 bytes January 08 2025 10:43:10.
test_widgetredir.py File 4177 bytes January 08 2025 10:43:10.
test_widgetredir.pyc File 6644 bytes January 08 2025 10:43:09.
test_widgetredir.pyo File 6644 bytes January 08 2025 10:43:09.

Reading File: //opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyo

�
�V~gc@sydZddlZddlZddlmZmZmZddlZddlm	Z
ddlmZm
Z
ddlmZd�Zd�Zd	dd
��YZdejfd��YZd
ejfd��YZdejfd��YZdejfd��YZdejfd��YZdejfd��YZdejfd��YZedkruejdddd�ndS(s9Test functions and SearchEngine class in SearchEngine.py.i����N(t
BooleanVart	StringVartTclError(tSearchEngine(tVartMbox(tTextcCstt_tt_tt_dS(N(RtseRRRttkMessageBox(((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pytsetUpModules		cCstt_tt_tt_dS(N(RRRR(((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyttearDownModules		tMockcBseZd�ZRS(cOsdS(N((tselftargstkwargs((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyt__init__t(t__name__t
__module__R(((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyRstGetTestcBseZd�ZRS(cCs~tj}tt_z[t�}tj|�}|j|tj�|j|j|�|jtj|�|�Wd|t_XdS(N(RRRtgettassertIsInstancetassertIst
_searchengine(Rtsaved_Enginetroottengine((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyttest_get#s			(RRR(((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyR!stGetLineColTestcBseZd�ZRS(cCsb|jtjd�d�|jtjd�d	�|jttjd�|jttjd�dS(
Ns1.0iis1.11is1.0 lineendtend(ii(ii(tassertEqualRtget_line_coltassertRaisest
ValueError(R((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyttest_get_line_col1s(RRR"(((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyR/stGetSelectionTestcBseZd�ZRS(cCsst�}|jdd�d�}||_|jtj|�d�d�}||_|jtj|�d�dS(	Ns1.0sHello World!cSs*|dkrdS|dkr dSt�dS(Ns	sel.firsts1.0ssel.lasts1.12(R(ts((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pytselKs
s1.12cSs|dkrdSt�dS(Ntinserts1.5(R(R$((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pytmarkSss1.5(s1.0s1.12(s1.5s1.5(tmockTextR&tindexRRt
get_selection(RttextR%R'((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyttest_get_selectionEs					(RRR,(((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyR#8s
tReverseSearchTestcBseZd�ZRS(cCs�|j}d}tjd�}|tj||t|��j�d	�|tj||d�j�d
�|tj||d�j�d�|tj||d�j�d�|tj||d�d�dS(
NsHere is an 'is' test text.tisiii
iii(ii(ii(ii(ii(RtretcompileRtsearch_reversetlentspantNone(RtEqualtlinetprog((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyttest_search_reverse]s	("""(RRR8(((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyR-[stSearchEngineTestcBs>eZd�Zd�Zd�Zd�Zd�Zd�ZRS(cCstjdd�|_dS(NR(RRR4R(R((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pytsetUpkscCsW|j}|j}||j�d�|jd�||j�d�||j�t�|jjd�||j�t�||j	�t�|j
jd�||j	�t�||j�t�|jjd�||j�t�||j
�t�|jjd�||j
�t�||j�t�|jjd�||j�t�dS(NRthelloii(RRtgetpattsetpattisretFalsetrevartsettTruetiscasetcasevartiswordtwordvartiswraptwrapvartisbacktbackvar(RRR5((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyttest_is_getps(		
cCsc|j}|jd�|j|j�d�|jjd�|jd�|j|j�d�dS(Ns\sis\\s(RtsetcookedpatRR<R@RA(RR((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyttest_setcookedpat�s	

cCs�|j}|j}||j�d�|jd�||j�d�|jjt�||j�d�|jjt�|jd�||j�d�|jjt�||j�d�dS(NRR;s	\bhello\bs\ss\\s(	RRtgetcookedpatR=RFRARBR?R@(RRR5((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyttest_getcookedpat�s		

cCs�|j}|j}|jd�|j�}||jtjdtj�j�|jj	d�|j�}||jtjd�jd�|jd�||j�d�|jd�|jj	d�||j�d�|jtj
jd�dS(NtHelloiiRt+s#Error: nothing to repeat
Pattern: +(RRR=tgetprogtpatternR/R0t
IGNORECASERDRAR4R@Rt	showerrortmessage(RRR5ttemppat((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyttest_getprog�s		
"

cCs�tj}|j}d}d}||jj||�d�||jd�d|d}||j|�||jj||d�d�||jd�|d7}||j|�dS(Ns[a-zs$unexpected end of regular expressionsRegular expression errorsError: s
Pattern: [a-zis

Offset: 5(RRURRtreport_errorR4ttitleRV(RRUR5tpattmsgtexpected_message((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyttest_report_error�s		
(RRR:RKRMRORXR^(((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyR9hs					t
SearchTestcBs eZed��Zd�ZRS(cCskt�|_d}|jjd|�tjd�|_tjd�|_	d�|j	_
d�|j	_dS(Ns&First line
Line with target
Last line
s1.0ttargetcWs
d|fS(Ntf((R
((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyt<lambda>�RcWs
d|fS(Ntb((R
((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyRb�R(R(R+R&R/R0R[RRR4Rtsearch_forwardtsearch_backward(tclst	test_text((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyt
setUpClass�sc	Cs|j}|j}|j}|j}|j}|jjd�|||�d�d�}||_||||�d||ddt	t
ff�|jjt
�||||�d||ddt
t
ff�|jjt	�|jjt	�||||�d||ddt	t
ff�|jjt
�d�}||_||||�d||ddt	t
ff�||||t	�d||dd	t	t	ff�|jjt	�||||�d||dd	t	t
ff�||||t	�d||ddt	t	ff�dS(
NcSs|dkrdSt�dS(NR&s1.5(R(R$((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyR'�sRaiiRccSs*|dkrdS|dkr dSt�dS(Ns	sel.firsts2.10ssel.lasts2.16(R(R$((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyR%�s
iii
(
RRtsearch_textR+R[tpatvarRAR4R)RBR?RHRJ(RR5RtsearchR+R[R'R%((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyttest_search�s.							...		.1.(RRtclassmethodRhRl(((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyR_�stForwardBackwardTestcBs2eZed��Zd�Zd�Zd�ZRS(cCs�tjd�|_t�|_d�|j_d}|jjd|�tj	d�|_
dd
f|_tj	d�|_tj	d	�|_
dS(NcSsdS(Ns4.0((R)((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyRbRs&First line
Line with target
Last line
s1.0R`ii
itxyzs\w*(i
i(RRR4RR(R+R)R&R/R0R[trestfailpattemptypat(RfRg((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyRhscsd��fd�}|S(Nics@��j|||||�}|r<|d|dj�fS|S(Nii(R+R3(R[R6tcoltwraptokRp(tfuncR(sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyRk s((RRvRk((RvRsH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pytmake_searchscCs|j}|j|jj�}|j}|||ddt�|j�|||ddt�|j�|||ddt�d�|||ddt�|j�|||j	ddt�d�|||j
ddtdt�ddf�|||j
ddt�|j�dS(	Niiiii
i	Ru(i	i	(RRwRRdR[RBRpR?R4RqRr(RR5tforwardR[((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyttest_search_forward&s		+cCs|j}|j|jj�}|j}|||ddt�|j�|||ddt�|j�|||ddt�d�|||ddt�|j�|||j	ddt�d�|||j
ddtdt�dd	f�|||j
ddt�dd
f�dS(Niiiiii	i
Ru(i	i	(ii	(RRwRReR[RBRpR?R4RqRr(RR5tbackwardR[((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyttest_search_backward7s		+(RRRmRhRwRyR{(((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyRns		t__main__t	verbosityitexit((t__doc__R/tunittesttTkinterRRRRtidlelibRRtidlelib.idle_test.mock_tkRRRR(R	R
RtTestCaseRRR#R-R9R_RnRtmain(((sH/opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_searchengine.pyt<module>s&			#
`=C

SILENT KILLER Tool