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_global.cpython-310.pyc
o

�9j��@s^dZddlmZddlmZddlZddlZGdd�dej�Zdd�Z	e
d	kr-e��dSdS)
zDVerify that warnings are issued for global statements following use.���check_syntax_error)�check_warningsNc@s<eZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
S)�GlobalTestscCs$t�|_|j��tjddd�dS�N�error�
<test string>)�module)r�_warnings_manager�	__enter__�warnings�filterwarnings��self�r�'/usr/lib/python3.10/test/test_global.py�setUps
zGlobalTests.setUpcCs|j�ddd�dS)N)r
�__exit__rrrr�tearDownszGlobalTests.tearDowncC�d}t||ddd�dS)Nz<def wrong1():
    a = 1
    b = 2
    global a
    global b
����lineno�offsetr)r�prog_text_1rrr�test1szGlobalTests.test1cCr)Nz(def wrong2():
    print(x)
    global x
�rrr)r�prog_text_2rrr�test2szGlobalTests.test2cCr)Nz2def wrong3():
    print(x)
    x = 2
    global x
rrrr)r�prog_text_3rrr�test3&szGlobalTests.test3cCsd}t|dd�dS)Nzglobal x
x = 2
r�exec)�compile)r�prog_text_4rrr�test4/szGlobalTests.test4N)	�__name__�
__module__�__qualname__rrrrr!r%rrrrr	s
	rcCs4t��}|��t�|jddd�tjddd�dSr)r�catch_warningsr�unittest�addModuleCleanuprr
)�cmrrr�setUpModule8sr-�__main__)�__doc__�test.supportr�test.support.warnings_helperrr*r�TestCaserr-r&�mainrrrr�<module>s/�

Youez - 2016 - github.com/yon3zu
LinuXploit