| Server IP : 138.197.176.125 / Your IP : 216.73.217.55 Web Server : Apache/2.4.41 (Ubuntu) System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/twisted/trial/test/__pycache__/ |
Upload File : |
U
W[! � @ s� d Z ddlmZmZ ddlZddlmZmZ ddlm Z m
Z
ddlmZm
Z
mZ dd� ZG d d
� d
e�ZG dd� dej�ZG d
d� de�ZG dd� deej�ZG dd� deej�ZdS )zG
Test the interaction between trial and errors logged during test run.
� )�division�absolute_importN)�reactor�task)�failure�log)�unittest�reporter� _synctestc C s. zdd W n t k
r( t�� } Y nX | S )z*
Return a new, realistic failure.
� r )�ZeroDivisionErrorr �Failure)�f� r �=/usr/lib/python3/dist-packages/twisted/trial/test/test_log.py�makeFailure s
r c @ sH e Zd ZdZG dd� de�ZG dd� deej�ZG dd� deej �Z
dS ) �Maskz?
Hide C{MockTest}s from Trial's automatic test finder.
c @ s, e Zd Zdd� Zdd� Zdd� Zdd� Zd S )
zMask.FailureLoggingMixinc C s dS )z/
Don't log any errors.
Nr ��selfr r r �test_silent! s z$Mask.FailureLoggingMixin.test_silentc C s t �t� � dS )z-
Log a single error.
N�r �errr r r r r �test_single&