관리-도구
편집 파일: runner.cpython-37.pyc
B �=�_D, � @ s� d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl Z yddl Z W n ek rl dZ Y nX yddlZW n ek r� dZY nX ddl Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ dd lmZ dd lmZ ddlmZ ddlmZ d ZdZe �� �pdZe �o*e� Zej� ej�!e"��Z#e j$j%Z%d$dd�Z&G dd� d�Z'G dd� de j(�Z)G dd� de j*�Z+G dd� de+�Z,d%dd�Z-dd� Z.dd � Z/d!d"� Z0e1d#k�r�e0� 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 C sB |d kr|dkrt jnt j}tr2t| |||d� nt| |d� d S )N�red)�bold�file)r )�sys�stderr�stdout� USE_COLORSr �print)�msg�colorr r � r �F/opt/alt/python37/lib64/python3.7/site-packages/psutil/tests/runner.py�cprint>