403Webshell
Server IP : 118.27.122.248  /  Your IP : 216.73.217.37
Web Server : Apache
System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
User : c9415830 ( 11735)
PHP Version : 8.4.17
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python27/lib64/python2.7/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python27/lib64/python2.7/test/test_pkgimport.pyc
�
�q2_c@s�ddlZddlZddlZddlZddlZddlZddlmZdejfd��YZ	d�Z
edkr�e
�ndS(i����N(trun_unittestt
TestImportcBs>eZd�Zd�Zd�Zd�Zd�Zd�ZRS(cOsgd|_x1|jtjkr<|jtjtj�7_qW|jd|_tj	j
|||�dS(NtPACKAGE_s.foo(tpackage_nametsystmodulestrandomtchoosetstringtletterstmodule_nametunittesttTestCaset__init__(tselftargstkw((s8/opt/alt/python27/lib64/python2.7/test/test_pkgimport.pyR
s
	cCs=x6|j|jfD]"}|tjkrtj|=qqWdS(N(RR
RR(RR
((s8/opt/alt/python27/lib64/python2.7/test/test_pkgimport.pytremove_modulesscCs�tj�|_tjj|j�tjj|j|j�|_	tj
|j	�ttjj|j	dtjd�d�j
�tjj|j	dtjd�|_dS(NR
tpytwtfoo(ttempfiletmkdtempttest_dirRtpathtappendtostjoinRtpackage_dirtmkdirtopentextseptclosetmodule_path(R((s8/opt/alt/python27/lib64/python2.7/test/test_pkgimport.pytsetUps$cCs�x9tj|j�D]%}tjtjj|j|��qWtj|j�tj|j�|jt	jj
|j�d�t	jj|j�|j�dS(Ni(RtlistdirRtremoveRRtrmdirRtassertNotEqualRtcountR(Rtfile((s8/opt/alt/python27/lib64/python2.7/test/test_pkgimport.pyttearDowns#cCsmx=dD]5}|j|}tjj|�rtj|�qqWt|jd�}|j|�|j�dS(NtcoR(R!RRtexistsR$RtwriteR (Rtcontentst	extensiont
compiled_pathtf((s8/opt/alt/python27/lib64/python2.7/test/test_pkgimport.pytrewrite_file&s


cCs!|jd�yt|j�Wntk
r1n
Xtd�|j|jtj�|jt	tj|j
d��d}x,|tt�kr�|t
jtj�7}qzW|j|�yt|j�Wntk
r�n
Xtd�|jd|�t|j�j}|jt||�d�dS(NtforsFailed to induce SyntaxErrorRtasFailed to induce NameError.s%s = 1i(R1t
__import__R
tSyntaxErrortRuntimeErrortassertNotInRRtassertFalsethasattrRtdirt__builtins__RRRR	t	NameErrorRtassertEqualtgetattr(Rtvartmodule((s8/opt/alt/python27/lib64/python2.7/test/test_pkgimport.pyttest_package_import__semantics/s(

	 

	(t__name__t
__module__R
RR"R)R1RA(((s8/opt/alt/python27/lib64/python2.7/test/test_pkgimport.pyRs			
				cCstt�dS(N(RR(((s8/opt/alt/python27/lib64/python2.7/test/test_pkgimport.pyt	test_mainNst__main__(RRRRRRttest.test_supportRRRRDRB(((s8/opt/alt/python27/lib64/python2.7/test/test_pkgimport.pyt<module>s
HI	

Youez - 2016 - github.com/yon3zu
LinuXploit