403Webshell
Server IP : 118.27.122.248  /  Your IP : 216.73.216.15
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/python36/lib64/python3.6/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python36/lib64/python3.6/test/__pycache__/test_threadedtempfile.cpython-36.opt-2.pyc
3

�
�^��@s�dZdZddlZddlmZmZed�ZddlZddlZddl	m
Z
ej�ZGdd�dej
�ZGd	d
�d
ej�Zedkr�ej�dS)��2�N)�
start_threads�
import_module�	threading)�	print_excc@seZdZdZdZdd�ZdS)�TempFileGreedyrc
Csttj�|_tj�x\tt�D]P}ytjd�}|j	�Wn&|j
d7_
t|jd�YqX|jd7_qWdS)Nzw+b�)�file)
�io�StringIO�errors�
startEvent�wait�range�FILES_PER_THREAD�tempfileZ
TemporaryFile�close�error_countr�ok_count)�self�i�f�r�:/opt/alt/python36/lib64/python3.6/test_threadedtempfile.py�run!s

zTempFileGreedy.runN)�__name__�
__module__�__qualname__rrrrrrrrsrc@seZdZdd�ZdS)�ThreadedTempFileTestcCs�dd�tt�D�}t|tj��WdQRXtdd�|D��}dd�|D�}dt|�|dj|�f}|j|g|�|j|tt	�dS)NcSsg|]
}t��qSr)r)�.0rrrr�
<listcomp>1sz2ThreadedTempFileTest.test_main.<locals>.<listcomp>css|]}|jVqdS)N)r)r �trrr�	<genexpr>4sz1ThreadedTempFileTest.test_main.<locals>.<genexpr>cSs*g|]"}|jrt|j�t|jj���qSr)r�str�namer
�getvalue)r r"rrrr!5szErrors: errors %d ok %d
%s�
)
r�NUM_THREADSrr�set�sum�len�joinZassertEqualr)rZthreads�okr
�msgrrr�	test_main0s

zThreadedTempFileTest.test_mainN)rrrr/rrrrr/sr�__main__)r(rrZtest.supportrrrZunittestr�	tracebackrZEventrZThreadrZTestCaserr�mainrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit