Your IP : 216.73.216.213
B
�A^�W � @ s0 d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dlmZ d dlm Z d dlmZ ddl
mZmZm
Z
ddd d
ddd
gZejdkr�e�ddddddddddddddddg� dd � eD �Ze�d!d"�e� �Zd#Zd$Zd0d&d'�Zd(d)� ZG d*d+� d+ej�ZG d,d-� d-e�ZG d.d/� d/e�ZdS )1� N)�path)�StringIO)�time� )�
TestResult�_TextTestResult�failfast)r � )� � )� � )� � )� � )i� i� )i�� i�� i )i�� i�� )i�� i�� )i�� i�� )i�� i�� )i�� i�� )i�� i�� )i�� i�� )i�� i�� )i�� i�� )i��
i��
)i�� i�� )i�� i�� )i��
i��
)i�� i�� )i�� i�� )i�� i�� c C s$ g | ]\}}d t |�t |�f �qS )z%s-%s)�chr)�.0�low�high� r �A/opt/alt/python37/lib/python3.7/site-packages/xmlrunner/result.py�
<listcomp>) s r z[%s]� z
Stdout:
%sz
Stderr:
%s�utf8c C s t | �} t�d| �S )z�Return a unicode string containing only valid XML characters.
encoding - if data is a byte string it is first decoded to unicode
using this encoding.
r )�str�INVALID_XML_1_0_UNICODE_RE�sub)�data�encodingr r r �safe_unicode4 s r c C s, t | �}|jd }|dkrd}||j }|S )N�.z __main__.r )�type�
__module__�__name__)�test_method�testcase�module�resultr r r �
testcase_name>