
    dafT                         d Z ddlZddlZddlmZ ddlmZmZmZ  e         G d dej                        Z
edk(  r ej                          yy)zTests for scripts in the Tools/scripts directory.

This file contains extremely basic regression tests for the scripts found in
the Tools directory of a Python checkout or tarball which don't have separate
tests of their own.
    N)import_helper)
scriptsdirimport_toolskip_if_missingc                   6    e Zd ZdgZej
                  d        Zy)TestSundryScripts2to3c                     t        j                         }	 t        j                  t              D ]3  }|j                  d      s|d d }|| j                  v r)t        |       5 	 t        j                  |  y # t        j                  |  w xY w)Nz.py)	r   modules_setuposlistdirr   endswithskiplistr   modules_cleanup)selfmock_osold_modulesfnnames        6/root/Python-3.12.4/Lib/test/test_tools/test_sundry.pytest_sundryzTestSundryScripts.test_sundry   s}    #113	8jj, "{{5)#2w4==(D!" ));7M));7s   AA9 9BN)__name__
__module____qualname__r   r   mock_register_at_forkr        r   r   r      s%     xH
 ((8 )8r   r   __main__)__doc__r   unittesttest.supportr   test.test_toolsr   r   r   TestCaser   r   mainr   r   r   <module>r&      sM    
  & D D  8)) 86 zHMMO r   