HEX
Server: LiteSpeed
System: Linux server.nevid-deploma.com 4.18.0-553.111.1.lve.el8.x86_64 #1 SMP Fri Mar 13 13:42:17 UTC 2026 x86_64
User: smilepac (1037)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //opt/cppython/lib/python3.8/test/test_tools/__pycache__/test_reindent.cpython-38.pyc
U

1D�g��@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	�</opt/cppython/lib/python3.8/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