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 :  /lib/python3.10/lib2to3/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.10/lib2to3/tests/__pycache__/support.cpython-310.pyc
o

�9j��@s�dZddlZddlZddlZddlmZddlmZmZddl	m
Zej�
e�Zej�ej�ed��Zej�edd�Ze�e�Ze�e�Zejd=ejeejd	�Z
ejeejd	�Zd
d�Zddd
�Zdd�Zddd�Zdd�Zej Z dS)z Support code for test_*.py files�N��dedent)�pytree�refactor)�driverz..zGrammar.txt�print)�convertcCstjt|�dd�S)NT)�debug)r�parse_string�reformat��string�r�,/usr/lib/python3.10/lib2to3/tests/support.pyr
sr
cCs,|durt���|�}tjdd��|�dS)N�)�	verbosity)�unittest�
TestLoader�loadTestsFromModule�TextTestRunner�run)�test_mod�testsrrr�
run_all_testssrcCst|�dS)Nz

rrrrrr"sr�lib2to3csB|dur�fdd�|D�}nt��d�}|pi}tj||dd�S)a

    A convenience function for creating a RefactoringTool for tests.

    fixers is a list of fixers for the RefactoringTool to use. By default
    "lib2to3.fixes.*" is used. options is an optional dictionary of options to
    be passed to the RefactoringTool.
    Ncsg|]}�d|�qS)z.fixes.fix_r)�.0�fix��	fixer_pkgrr�
<listcomp>.sz"get_refactorer.<locals>.<listcomp>z.fixesT)�explicit)r�get_fixers_from_package�RefactoringTool)r�fixers�optionsrrr�get_refactorer%s
r%ccs@�t�t�D]\}}}|D]}|�d�rtj�||�Vq
qdS)Nz.py)�os�walk�proj_dir�endswith�path�join)�dirpath�dirnames�	filenames�filenamerrr�all_project_files4s�
���r0)NN)rNN)!�__doc__rr&�os.path�textwraprrrr�
lib2to3.pgen2r�pgen2_driverr*�dirname�__file__�test_dir�normpathr+r(�grammar_path�load_grammar�grammar�grammar_no_print_statement�keywords�Driverr�driver_no_print_statementr
rrr%r0�TestCaserrrr�<module>s0

�




Youez - 2016 - github.com/yon3zu
LinuXploit