Your IP : 216.73.216.213


Current Path : /opt/alt/python39/lib64/python3.9/test/test_tools/__pycache__/
Upload File :
Current File : //opt/alt/python39/lib64/python3.9/test/test_tools/__pycache__/test_reindent.cpython-39.opt-1.pyc

a

XC?h��@shdZddlZddlZddlmZddlmZddlmZm	Z	e	�Gdd�dej
�Zedkrde�
�dS)	z�Tests for scripts in the Tools directory.

This file contains regression tests for some of the scripts found in the
Tools directory of a Python checkout or tarball, such as reindent.py.
�N)�assert_python_ok)�findfile)�
scriptsdir�skip_if_missingc@s2eZdZej�ed�Zdd�Zdd�Z	dd�Z
dS)	�
ReindentTestszreindent.pycCst|j�dS)N)r�script)�self�r	�B/opt/alt/python39/lib64/python3.9/test/test_tools/test_reindent.py�test_noargsszReindentTests.test_noargscCs.t|jd�\}}}|�|d�|�|d�dS)Nz-h�)rr�assertEqualZ
assertGreater)r�rc�out�errr	r	r
�	test_helpszReindentTests.test_helpcCs8td�}t|jd|�\}}}|�|d�|�|d�dS)Nz
bad_coding.pyz-rr)rrrr
ZassertNotEqual)rZbad_coding_pathrrrr	r	r
�$test_reindent_file_with_bad_encodingsz2ReindentTests.test_reindent_file_with_bad_encodingN)�__name__�
__module__�__qualname__�os�path�joinrrrrrr	r	r	r
rsr�__main__)�__doc__rZunittestZtest.support.script_helperrZtest.supportrZtest.test_toolsrrZTestCaserr�mainr	r	r	r
�<module>s