0x1949 Team - FAZEMRX - MANAGER
Edit File: testresult.cpython-310.pyc
o ��+gn � @ s2 d Z ddlZddlZddlZddlZddlZddlZG dd� dej�ZG dd� d�Z ddd �Z dd d�Zedkr�ddl m mZ d e_G dd� dej�Ze�� Ze�e�e�� e�� Ze edd� ejD ���Zeej�Ze�e�Z e!de�"� � e!ddd� e�#e �$� �D ] Z%e!e%�&� dd� q�e!� dS dS )z=Test runner and result class for the regression test suite. � Nc s� e Zd ZdZ� fdd�Zedd� �Z� fdd�Zddd �Zed d� �Z � fdd �Z � fdd�Z� fdd�Z� fdd�Z � fdd�Z� fdd�Zdd� Z� ZS )�RegressionTestResultFc sx t � j|||r dndd� d| _| jr7ddlm} ddlm} || _|�d�| _ | j � d|�� �d �� d | _ d | _d S ) N� r )�stream�descriptions� verbosityT)�ElementTree)�datetime� testsuite�start� )�super�__init__�buffer�USE_XML� xml.etreer r �_RegressionTestResult__ET�Element�_RegressionTestResult__suite�set�utcnow� isoformat�_RegressionTestResult__e�!_RegressionTestResult__start_time)�selfr r r �ETr �� __class__� �./usr/lib/python3.10/test/support/testresult.pyr s � zRegressionTestResult.__init__c C sJ z|j }W n ty t|� Y S w z|� W S ty$ t|� Y S w �N)�id�AttributeError�str� TypeError�repr)�cls�test�test_idr r r �__getId s ��zRegressionTestResult.__getIdc s6 t � �|� | jr| j�| jd� | _}t�� | _ d S )N�testcase) r � startTestr r � SubElementr r �time�perf_counterr )r r&