%PDF- %PDF-
Direktori : /opt/alt/python311/lib64/python3.11/unittest/__pycache__/ |
Current File : //opt/alt/python311/lib64/python3.11/unittest/__pycache__/main.cpython-311.pyc |
� c��f�, � � � d Z ddlZddlZddlZddlZddlmZmZ ddlm Z dZ dZdZd � Z d � Zd� Z G d� d e� � ZeZdS )zUnittest main program� N� )�loader�runner)�installHandlerTa Examples: %(prog)s test_module - run tests from test_module %(prog)s module.TestClass - run tests from module.TestClass %(prog)s module.Class.test_method - run specified test method %(prog)s path/to/test_file.py - run tests from test_file.py aF Examples: %(prog)s - run default set of tests %(prog)s MyTestSuite - run suite 'MyTestSuite' %(prog)s MyTestCase.testSomething - run MyTestCase.testSomething %(prog)s MyTestCase - run all 'test*' test methods in MyTestCase c �V � t j � | � � �r| � � � � d� � r�t j � | � � rst j � | t j � � � � }t j � |� � s|� t j � � r| S |} t j � | � � d d� � dd� � � dd� � S | S )Nz.py����\�.�/)�os�path�isfile�lower�endswith�isabs�relpath�getcwd� startswith�pardir�normpath�replace)�name�rel_paths �4/opt/alt/python311/lib64/python3.11/unittest/main.py� _convert_namer s� � � �w�~�~�d��� P�� � ��� 5� 5�e� <� <� P� �7�=�=���� ��w���t�R�Y�[�[�9�9�H��w�}�}�X�&�&� �(�*=�*=�b�i�*H�*H� ����D� �w����%�%�c�r�c�*�2�2�4��=�=�E�E�c�3�O�O�O��K� c � � d� | D � � S )Nc �, � g | ]}t |� � ��S � )r )�.0r s r � <listcomp>z"_convert_names.<locals>.<listcomp>/ s � �2�2�2�D�M�$���2�2�2r r )�namess r �_convert_namesr# . s � �2�2�E�2�2�2�2r c � � d| vrd| z } | S )N�*z*%s*r )�patterns r �_convert_select_patternr'