ok
Direktori : /opt/cloudlinux/venv/lib64/python3.11/site-packages/coverage/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/coverage/__pycache__/multiproc.cpython-311.pyc |
� �܋f � � � d Z ddlZddlZddlZddlZddlZddlZddlmZm Z dZ ej j Z e j Z G d� de � � Z G d� d� � Zd ed dfd�ZdS )z>Monkey-patching to add multiprocessing support for coverage.py� N)�Any�Dictz_coverage$patchedc � � e Zd ZdZd� ZdS )�ProcessWithCoveragez<A replacement for multiprocess.Process that starts coverage.c � � ddl m} |dd�� � }d|_ |� � � |j }|�J �|� d� � r|� d� � n[# t $ rN t d � � t j t j � � � t j � � � � w xY w t | g|�R i |��|� d� � r|� d� � |� � � |� � � |� d� � r|� d� � S S # |� d� � r|� d� � |� � � |� � � |� d� � r|� d� � w w xY w) z,Wrapper around _bootstrap to start coverage.r )�CoverageT)�data_suffix� auto_dataFN� multiprocz!Calling multiprocessing bootstrapz0Exception during multiprocessing bootstrap init:)�filez"Finished multiprocessing bootstrapzSaved multiprocessing data)�coverager �_warn_preimported_source�start�_debug�should�write� Exception�print� traceback� print_exc�sys�stdout�flush�original_bootstrap�stop�save)�self�args�kwargsr �cov�debugs �e/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/coverage/multiproc.py� _bootstrapzProcessWithCoverage._bootstrap s� � � �)�)�)�)�)�)��(�t�t�<�<�<�C�+0�C�(��I�I�K�K�K��J�E��$�$�$��|�|�K�(�(� A����?�@�@�@���� � � ��D�E�E�E���S�Z�0�0�0�0��J������� ���� :�%�d�<�T�<�<�<�V�<�<��|�|�K�(�(� B����@�A�A�A��H�H�J�J�J��H�H�J�J�J��|�|�K�(�(� :����8�9�9�9�9� :�� �|�|�K�(�(� B����@�A�A�A��H�H�J�J�J��H�H�J�J�J��|�|�K�(�(� :����8�9�9�9�9� :���s �A#A&