- GRAYBYTE UNDETECTABLE CODES -

403Webshell
Server IP : 184.154.167.98  /  Your IP : 3.22.68.29
Web Server : Apache
System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : puertode ( 1767)
PHP Version : 8.2.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib64/python2.7/idlelib/idle_test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib64/python2.7/idlelib/idle_test/test_autoexpand.pyc
�
{fc@s�dZddlZddlmZddlmZmZddlmZdd
d��YZ	dej
fd	��YZed
kr�ej
dd�ndS(s!Unit tests for idlelib.AutoExpandi����N(trequires(tTexttTk(t
AutoExpandt
Dummy_EditwincBseZd�ZRS(cCs
||_dS(N(ttext(tselfR((s9/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt__init__s(t__name__t
__module__R(((s9/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyR	stAutoExpandTestcBs\eZed��Zed��Zd�Zd�Zd�Zd�Zd�Z	d�Z
RS(cCsedtt�kr=td�t�|_t|j�|_nt�|_tt|j��|_dS(NtTkintertgui(	tstrRRRttkRRRtauto_expand(tcls((s9/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt
setUpClasss
cCs5|`|`t|d�r1|jj�|`ndS(NR(RRthasattrRtdestroy(R((s9/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt
tearDownClasss
cCs|jjdd�dS(Ns1.0tend(Rtdelete(R((s9/usr/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�||�d�dS(
Nttinsertttthistthist tiss
sample
stringtstrings3.0s1.0R(RRtgetprevwordtassertEqualRR(RRtprevioustequal((s9/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyttest_get_prevword$s$		cCs�|jj}|jj}|j}|jjdd�||jj�ddddg�|d�||�d�|d�||�d�|d�||�d�|d�||�d�dS(NRsab ac bx ad ab atabtadtactatevent(RR texpand_word_eventR!RRtgetwords(RR"texpandR#((s9/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyttest_before_only@s	"



cCs�|j}|jj}|jj}|j}|jdd�|jdd�||jj�ddddg�|d�||�d�|d�||�d�|d�||�d�|d�||�d�dS(	NRs a, [ab] ac: () bx"" cd ac= ad yas1.1R%R'R&R(R)(RRR R*R!Rtmark_setR+(RRR"R,R#((s9/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyttest_after_onlyPs		"



cCs�|j}|jj}|jj}|j}|jdd�|jdd�|jdd�||jj�dddg�|d�||�d�|d�||�d�|d�||�d�dS(	NRs	ab xy yz
s
a ac by acs2.1R%R'R(R)(RRR R*R!RR.R+(RRR"R,R#((s9/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyttest_both_before_aftercs		


cCs�|j}|jj}|j}||jj�g�||d�d�|jdd�||jj�g�|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((s9/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyttest_other_expand_casesus		

(RR	tclassmethodRRRR$R-R/R0R6(((s9/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyR
s
					t__main__t	verbosityi((t__doc__tunittestttest.test_supportRRRRtidlelib.AutoExpandRRtTestCaseR
Rtmain(((s9/usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt<module>s~

Youez - 2016 - github.com/yon3zu
LinuXploit