File: //opt/alt/python312/lib64/python3.12/test/test_tools/__pycache__/test_sundry.cpython-312.pyc
�
h�eT � � � d Z ddlZddlZddlmZ ddlmZmZmZ e� G d� dej � Z
edk( r ej � yy)z�Tests 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 Zd ZdgZej
d� � Zy)�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 xY w)Nz.py���) r �
modules_setup�os�listdirr �endswith�skiplistr �modules_cleanup)�self�mock_os�old_modules�fn�names �B/opt/alt/python312/lib64/python3.12/test/test_tools/test_sundry.py�test_sundryzTestSundryScripts.test_sundry s} � �#�1�1�3�� 8��j�j��,�
"���{�{�5�)���#�2�w���4�=�=�(���D�!�
"�
�)�)�;�7��M�)�)�;�7�s �AA9 �9B
N)�__name__�
__module__�__qualname__r r �mock_register_at_forkr � � r r r s% � � �x�H�
�(�(�8� )�8r r �__main__)
�__doc__r
�unittest�test.supportr �test.test_toolsr r r �TestCaser r �mainr r r �<module>r&