HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/Python311/Lib/test/test_tools/__pycache__/test_reindent.cpython-311.opt-1.pyc
�

��Vc���dZddlZddlZddlmZddlmZddlmZm	Z	e	��Gd�dej
��Zedkrej
��dSdS)	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�V�eZdZej�ed��Zd�Zd�Z	d�Z
dS)�
ReindentTestszreindent.pyc�.�t|j��dS)N)r�script)�selfs �1D:\Python311\Lib\test\test_tools\test_reindent.py�test_noargszReindentTests.test_noargss�����%�%�%�%�%�c��t|jd��\}}}|�|d��|�|d��dS)Nz-hr)rr
�assertEqual�
assertGreater)r�rc�out�errs    r�	test_helpzReindentTests.test_helpsK��'���T�:�:���C������c�"�"�"����3��$�$�$�$�$rc��td��}t|jd|��\}}}|�|d��|�|d��dS)Nz
bad_coding.pyz-rr)rrr
r�assertNotEqual)r�bad_coding_pathrrrs     r�$test_reindent_file_with_bad_encodingz2ReindentTests.test_reindent_file_with_bad_encodingsZ��"�?�3�3��'���T�?�K�K���C������c�"�"�"����C��%�%�%�%�%rN)�__name__�
__module__�__qualname__�os�path�joinrr
r
rr�rrrrsV������
�W�\�\�*�m�
4�
4�F�&�&�&�%�%�%�
&�&�&�&�&rr�__main__)�__doc__r�unittest�test.support.script_helperr�test.supportr�test.test_toolsrr�TestCaserr�mainr rr�<module>r)s�����
�	�	�	�����7�7�7�7�7�7�!�!�!�!�!�!�7�7�7�7�7�7�7�7������&�&�&�&�&�H�%�&�&�&�$�z����H�M�O�O�O�O�O��r