
    z%i                         	 d dl Z d dlZd dlmZ d dlmZ d dlmZmZ  e         G d dej                        Z
edk(  r ej                          yy)    N)assert_python_ok)findfile)toolsdirskip_if_missingc                   X    e Zd Zej                  j                  edd      Zd Zd Z	d Z
y)ReindentTests
patchcheckzreindent.pyc                 .    t        | j                         y )N)r   script)selfs    Q/home/uftp/.pyenv/versions/3.12.0/lib/python3.12/test/test_tools/test_reindent.pytest_noargszReindentTests.test_noargs   s    %    c                     t        | j                  d      \  }}}| j                  |d       | j                  |d       y )Nz-hr   )r   r   assertEqualassertGreater)r   rcouterrs       r   	test_helpzReindentTests.test_help   s8    'T:Cc"3$r   c                     t        d      }t        | j                  d|      \  }}}| j                  |d       | j	                  |d       y )Nzbad_coding.pyz-rr   )r   r   r   r   assertNotEqual)r   bad_coding_pathr   r   r   s        r   $test_reindent_file_with_bad_encodingz2ReindentTests.test_reindent_file_with_bad_encoding   sD    "?3'T?KCc"C%r   N)__name__
__module____qualname__ospathjoinr   r   r   r   r    r   r   r   r      s'    WW\\(L-@F&%
&r   r   __main__)r   unittesttest.support.script_helperr   test.supportr   test.test_toolsr   r   TestCaser   r   mainr!   r   r   <module>r)      sM    
  7 ! 5  &H%% &$ zHMMO r   