403Webshell
Server IP : 118.27.122.248  /  Your IP : 216.73.216.153
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_call.cpython-36.opt-2.pyc
3

�
�^[$�
@s�ddlZddlZddlZddlmZyddlZWnek
rHdZYnXGdd�dej�ZGdd�dej�Z	dd�Z
d	d
�ZGdd�d�Ze�Z
e�ZeGd
d�dej��Zedkr�ej�dS)�N)�cpython_onlyc@seZdZdd�ZdS)�
FunctionCallscCsZtjddg�}|jd�t|j��}dd�}|f|�}|j|t�|jt|j��|�dS)	N�a��b�c[s|S)N�)�kwrr�./opt/alt/python36/lib64/python3.6/test_call.py�fnsz+FunctionCalls.test_kwargs_order.<locals>.fn)rr)rr)�collections�OrderedDict�move_to_end�list�itemsZassertIsInstance�dict�assertEqual)�selfZod�expectedr�resrrr
�test_kwargs_order
s

zFunctionCalls.test_kwargs_orderN)�__name__�
__module__�__qualname__rrrrr
rsrc@s�eZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dd�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�Zdd �Zd!d"�Zd#d$�Zd%d&�Zd'd(�Zd)d*�Zd+d,�Zd-d.�Zd/d0�Zd1d2�Zd3d4�Zd5d6�Zd7S)8�CFunctionCallscCs|jtij�dS)N)�assertRaises�	TypeError�__contains__)rrrr
�
test_varargs0"szCFunctionCalls.test_varargs0cCsijd�dS)Nr)r)rrrr
�
test_varargs1%szCFunctionCalls.test_varargs1cCs|jtijdd�dS)Nrr)rrr)rrrr
�
test_varargs2(szCFunctionCalls.test_varargs2cCs(yijf�Wntk
r"YnXdS)N)rr)rrrr
�test_varargs0_ext+sz CFunctionCalls.test_varargs0_extcCsijd�dS)Nr)r)r)rrrr
�test_varargs1_ext1sz CFunctionCalls.test_varargs1_extcCs,yijd�Wntk
r"YnXt�dS)Nrr)rr)rr�RuntimeError)rrrr
�test_varargs2_ext4s
z CFunctionCalls.test_varargs2_extcCs|jtijdd�dS)Nr)�x)rrr)rrrr
�test_varargs0_kw<szCFunctionCalls.test_varargs0_kwcCs|jtijdd�dS)Nr)r%)rrr)rrrr
�test_varargs1_kw?szCFunctionCalls.test_varargs1_kwcCs|jtijddd�dS)Nr)r%�y)rrr)rrrr
�test_varargs2_kwBszCFunctionCalls.test_varargs2_kwcCsij�dS)N)�keys)rrrr
�test_oldargs0_0EszCFunctionCalls.test_oldargs0_0cCs|jtijd�dS)Nr)rrr*)rrrr
�test_oldargs0_1HszCFunctionCalls.test_oldargs0_1cCs|jtijdd�dS)Nrr)rrr*)rrrr
�test_oldargs0_2KszCFunctionCalls.test_oldargs0_2cCsijf�dS)N)r*)rrrr
�test_oldargs0_0_extNsz"CFunctionCalls.test_oldargs0_0_extcCs,yijd�Wntk
r"YnXt�dS)Nr)r)r*rr#)rrrr
�test_oldargs0_1_extQs
z"CFunctionCalls.test_oldargs0_1_extcCs,yijd�Wntk
r"YnXt�dS)Nrr)rr)r*rr#)rrrr
�test_oldargs0_2_extYs
z"CFunctionCalls.test_oldargs0_2_extcCs.yijdd�Wntk
r$YnXt�dS)Nr)r%)r*rr#)rrrr
�test_oldargs0_0_kwas
z!CFunctionCalls.test_oldargs0_0_kwcCs|jtijdd�dS)Nr)r%)rrr*)rrrr
�test_oldargs0_1_kwisz!CFunctionCalls.test_oldargs0_1_kwcCs|jtijddd�dS)Nr)r%r()rrr*)rrrr
�test_oldargs0_2_kwlsz!CFunctionCalls.test_oldargs0_2_kwcCs|jtgj�dS)N)rr�count)rrrr
�test_oldargs1_0oszCFunctionCalls.test_oldargs1_0cCsgjd�dS)Nr)r4)rrrr
�test_oldargs1_1rszCFunctionCalls.test_oldargs1_1cCs|jtgjdd�dS)Nrr)rrr4)rrrr
�test_oldargs1_2uszCFunctionCalls.test_oldargs1_2cCs,ygjf�Wntk
r"YnXt�dS)N)r4rr#)rrrr
�test_oldargs1_0_extxs
z"CFunctionCalls.test_oldargs1_0_extcCsgjd�dS)Nr)r)r4)rrrr
�test_oldargs1_1_ext�sz"CFunctionCalls.test_oldargs1_1_extcCs,ygjd�Wntk
r"YnXt�dS)Nrr)rr)r4rr#)rrrr
�test_oldargs1_2_ext�s
z"CFunctionCalls.test_oldargs1_2_extcCs|jtgjdd�dS)Nr)r%)rrr4)rrrr
�test_oldargs1_0_kw�sz!CFunctionCalls.test_oldargs1_0_kwcCs|jtgjidd�dS)Nr)r%)rrr4)rrrr
�test_oldargs1_1_kw�sz!CFunctionCalls.test_oldargs1_1_kwcCs|jtgjddd�dS)Nr)r%r()rrr4)rrrr
�test_oldargs1_2_kw�sz!CFunctionCalls.test_oldargs1_2_kwN)rrrrrr r!r"r$r&r'r)r+r,r-r.r/r0r1r2r3r5r6r7r8r9r:r;r<r=rrrr
r s6rcCs||gS)Nr)�arg1�arg2rrr
�pyfunc�sr@cCsdS)N�noargrrrrr
�pyfunc_noarg�srBc@s4eZdZdd�Zdd�Zedd��Zedd��Zd	S)
�PythonClasscCs||gS)Nr)rr>r?rrr
�method�szPythonClass.methodcCsdS)NrAr)rrrr
�method_noarg�szPythonClass.method_noargcCsdS)N�classmethodr)�clsrrr
�class_method�szPythonClass.class_methodcCsdS)N�staticmethodrrrrr
�
static_method�szPythonClass.static_methodN)	rrrrDrErFrHrIrJrrrr
rC�srCc@sHeZdZedddgfefdfejfdfejfdfej	dddgfej
fdfejfdfejfdfefefe
defed efed!dfed"d#fejd$dfejjfeffZed%ddiddgfefddd�ddgfej	d&ddiddgfej	fddd�ddgfegfddidfejd'ddidfejfd
dd�dffZdd�Zdd�Zdd�Zdd�ZdS)(�
FastCallTestsrrrArFrI�hello��	���!��
��littler?)r>r?�default�	byteorder)�bytesrVcCs|tkrdS|j||�dS)N)�
IGNORE_RESULTr)r�resultrrrr
�check_result�szFastCallTests.check_resultcCshxb|jD]X\}}}|j||d��:tj||�}|j||�|sVtj|d�}|j||�WdQRXqWdS)N)�func�args)�
CALLS_POSARGS�subTest�	_testcapiZpyobject_fastcallrZ)rr[r\rrYrrr
�
test_fastcall�szFastCallTests.test_fastcallcCs�x�|jD]�\}}}|j||d��rtj||d�}|j||�tj||i�}|j||�|s�tj|dd�}|j||�tj|di�}|j||�WdQRXqWxL|jD]B\}}}}|j|||d�� tj|||�}|j||�WdQRXq�WdS)N)r[r\)r[r\�kwargs)r]r^r_Zpyobject_fastcalldictrZ�CALLS_KWARGS)rr[r\rrYrarrr
�test_fastcall_dictsz FastCallTests.test_fastcall_dictcCs
x�|jD]�\}}}|j||d��rtj||d�}|j||�tj||f�}|j||�|s�tj|dd�}|j||�tj|df�}|j||�WdQRXqWxh|jD]^\}}}}|j|||d��<t|j��}|t|j��}tj|||�}|j||�WdQRXq�WdS)N)r[r\)r[r\ra)	r]r^r_Zpyobject_fastcallkeywordsrZrb�tupler*�values)rr[r\rrYraZkwnamesrrr
�test_fastcall_keywords!s"z$FastCallTests.test_fastcall_keywordsN)rr)rr)rL)r)rMrN)rOrP)rQrR)rSrT)r)r)rS)rrrr@rBrCrHrJ�PYTHON_INSTANCErDrE�globalsrX�id�dir�min�divmod�int�
from_bytes�datetimeZnowr]�maxrbrZr`rcrfrrrr
rK�s4






rK�__main__)rroZunittestZtest.supportrr_�ImportErrorZTestCaserrr@rBrCrg�objectrXrKr�mainrrrr
�<module>s&
u


Youez - 2016 - github.com/yon3zu
LinuXploit