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_copyreg.cpython-36.opt-2.pyc
3

�
�^��@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�ej�dS)�N)�ExtensionSaverc@seZdZdS)�CN)�__name__�
__module__�__qualname__�rr�1/opt/alt/python36/lib64/python3.6/test_copyreg.pyrsrc@seZdZdS)�WithoutSlotsN)rrrrrrrr	
sr	c@seZdZdZdS)�WithWeakref�__weakref__N)r)rrr�	__slots__rrrrr

sr
c@seZdZdZdS)�WithPrivate�__spamN)r)rrrrrrrrr
sr
c@seZdZdZdS)� _WithLeadingUnderscoreAndPrivaterN)r)rrrrrrrrrsrc@seZdZdZdS)�___rN)r)rrrrrrrrrsrc@seZdZdZdS)�WithSingleString�spamN)rrrrrrrrrsrc@seZdZdZdS)�
WithInherited�eggsN)r)rrrrrrrrrsrc@s<eZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
S)�CopyRegTestCasecCs|jttjtdd�dS)N)�assertRaises�	TypeError�copyreg�pickler)�selfrrr�
test_class"s
zCopyRegTestCase.test_classcCs|jttjtd�d�dS)N�znot a callable)rrrr�type)rrrr�test_noncallable_reduce&s
z'CopyRegTestCase.test_noncallable_reducecCs|jttjtd�td�dS)Nrznot a callable)rrrrr�int)rrrr�test_noncallable_constructor*s
z,CopyRegTestCase.test_noncallable_constructorcCsddl}|jd|jd��dS)NrT)�copy�assertEqual)rr!rrr�	test_bool.szCopyRegTestCase.test_boolcCs�d\}}}t|�}�zJ|jttj|||�tj|||�|jtj||f|k�|jtj|||fk�|j	|tj
�tj|||�|jttj|||d�|jttj|||d�|jttj|dd�||�|jttj|dd�||�|jttj||dd�|�|jttj||dd�|�|dtjk�r\|jttj|dd�|dd�|d�Wd|j�X|j	||ftj�xBd	D]:}t|�}z tj|||�tj|||�Wd|j�X�q�Wx"dD]}|jttj|||��q�WdS)N�junk1 � junk2�ͫr��r�)r$r%r&)rr'���)r)rr()rr�
ValueErrorr�remove_extension�
add_extensionZ
assertTrue�_extension_registry�_inverted_registryZassertNotIn�_extension_cacheZrestore)r�mod�func�code�errr�test_extension_registry2sH









"



z'CopyRegTestCase.test_extension_registrycCs�|jtjt�g�|jtjt�g�dg}|jtjt�|�dg}|jtjt�|�|jtjt�dg�|jtjt�dg�ddg}|j	�tjt
�}|j	�|j||�dS)NZ_WithPrivate__spamZ&_WithLeadingUnderscoreAndPrivate__spamrrr)r"r�
_slotnamesr	r
r
rrr�sortr)rZexpected�resultrrr�test_slotnamesls
zCopyRegTestCase.test_slotnamesN)	rrrrrr r#r4r8rrrrr s:r�__main__)rZunittestZtest.pickletesterrr�objectr	r
r
rrrrZTestCaserr�mainrrrr�<module>s]

Youez - 2016 - github.com/yon3zu
LinuXploit