관리-도구
편집 파일: runner.cpython-311.pyc
� P�DgD, � � � d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl Z ddl Z n # e$ r dZ Y nw xY w ddlZn # e$ r dZY nw xY wddl Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ dd lmZ dd lmZ ddlmZ ddlmZ d ZdZ e j � � pdZe o e� � Zej � ej �! e"� � � � Z#e j$ j% Z%dd�Z& G d� d� � Z' G d� de j( � � Z) G d� de j* � � Z+ G d� de+� � Z,d d�Z-d� Z.d� Z/d� Z0e1dk r e0� � dS dS )!aA Unit test runner, providing new features on top of unittest module: - colourized output - parallel run (UNIX only) - print failures/tracebacks on CTRL+C - re-run failed tests only (make test-failed) Invocation examples: - make test - make test-failed Parallel: - make test-parallel - make test-process ARGS=--parallel � )�print_functionN)�hilite)�print_color)�term_supports_colors)�super)� CI_TESTING)�import_module_by_path)� print_sysinfo)� reap_children)�safe_rmpath� z.failed-tests.txt� Fc � � |�|dk rt j nt j }t rt | |||�� � d S t | |�� � d S )N�red)�bold�file)r )�sys�stderr�stdout� USE_COLORSr �print)�msg�colorr r s �u/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib64/python3.11/site-packages/psutil/tests/runner.py�cprintr >