ok

Mini Shell

Direktori : /opt/cloudlinux/venv/lib/python3.11/site-packages/tap/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/tap/__pycache__/main.cpython-311.pyc

�

�܋fL��n�ddlZddlZddlZddlmZddlmZejejfd�Z	d�Z
d�Zd�Zd�Z
dS)	�N)�Loader)�
TAPTestRunnerc��t|��}t|��}tj|j|���}|�|��}t
|��S)z"Entry point for ``tappy`` command.)�	verbosity�stream)�
parse_args�build_suite�unittest�TextTestRunner�verbose�run�
get_status)�argvr�args�suite�runner�results      �Y/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/tap/main.py�mainr	sR���d���D�����E�
�
$�t�|�F�
K�
K�
K�F�
�Z�Z��
�
�F��f����c���t��}t|j��dks|jddkr|���}n|�|j��}|S)z8Build a test suite by loading TAP files or a TAP stream.r�-)r�len�files�load_suite_from_stdin�load)r�loaderrs   rr	r	sY��
�X�X�F�
�4�:���!���t�z�!�}��3�3��,�,�.�.������D�J�'�'���Lrc�r�d}d}tj||���}|�dddd���|�d	d
ddd
d���|�|dd���}|jsDt
j���r&tj|�	����|S)NzA TAP consumer for PythonziWhen no files are given or a dash (-) is used for the file name, tappy will read a TAP stream from STDIN.)�description�epilogr�FILE�*zgA file containing TAP output. Any directories listed will be scanned for files to include as TAP files.)�metavar�nargs�helpz-vz	--verbose�store_const��zuse verbose messages)�action�default�constr%)
�argparse�ArgumentParser�add_argumentrr�sys�stdin�isatty�exit�
print_help)rrr �parserrs     rrrs���-�K�	3���
$��V�
L�
L�
L�F�
������
9�������������
#�
�������T�!�"�"�X�&�&�D�
�:�&�#�)�*�*�,�,�&����"�"�$�$�%�%�%��Krc�2�|���rdSdS)z$Get a return status from the result.rr')�
wasSuccessful)rs rrrBs ��
�������q��qrc�x�t��}|�d��tjd|���dS)z-Entry point for running as ``python -m tap``.TN)�module�
testRunner)r�
set_streamr
r)rs r�main_moduler;Js:��
�_�_�F�
���d�����M��&�1�1�1�1�1�1r)r,r/r
�
tap.loaderr�
tap.runnerrr�stderrrr	rrr;�rr�<module>r@s�������
�
�
�
�����������$�$�$�$�$�$��h�s�z��������"�"�"�J���2�2�2�2�2r

Zerion Mini Shell 1.0