File: //usr/local/lib/python3.10/test/test_tools/__pycache__/test_reindent.cpython-310.opt-2.pyc
o
�i� � @ sj d dl Z d dlZd dlmZ d dlmZ d dlmZmZ e� G dd� dej �Z
edkr3e�� dS dS )� N)�assert_python_ok)�findfile)�
scriptsdir�skip_if_missingc @ s2 e Zd Zej�ed�Zdd� Zdd� Z dd� Z
dS ) �
ReindentTestszreindent.pyc C s t | j� d S )N)r �script)�self� r �:/usr/local/lib/python3.10/test/test_tools/test_reindent.py�test_noargs s zReindentTests.test_noargsc C s. t | jd�\}}}| �|d� | �|d� d S )Nz-h� )r r �assertEqualZ
assertGreater)r �rc�out�errr r r
� test_help s zReindentTests.test_helpc C s8 t d�}t| jd|�\}}}| �|d� | �|d� d S )Nz
bad_coding.pyz-rr )r r r r
ZassertNotEqual)r Zbad_coding_pathr r r r r r
�$test_reindent_file_with_bad_encoding s z2ReindentTests.test_reindent_file_with_bad_encodingN)�__name__�
__module__�__qualname__�os�path�joinr r r r r r r r r
r s
r �__main__)
r ZunittestZtest.support.script_helperr Ztest.supportr Ztest.test_toolsr r ZTestCaser r �mainr r r r
�<module> s �