| Server IP : 159.223.102.202 / Your IP : 216.73.216.195 Web Server : nginx/1.26.0 System : Linux Gen1-cloudpanel2ubuntu2404-1vcpu-1gb-nyc1-01 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 User : albasshbotta ( 1021) PHP Version : 8.2.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/twisted/trial/test/__pycache__/ |
Upload File : |
�
M��eh � �� � d Z ddlZddlmZmZ ddlmZmZ ddlm Z m
Z
mZ d� Z G d� d� Z
G d � d
ej � Z G d� d� Z G d
� deej � Z G d� deej$ � Zy)zG
Test the interaction between trial and errors logged during test run.
� N)�reactor�task)�failure�log)� _synctest�reporter�unittestc �Z � ddz S # t $ r t j � } Y | S w xY w)z*
Return a new, realistic failure.
� r )�ZeroDivisionErrorr �Failure)�fs �=/usr/lib/python3/dist-packages/twisted/trial/test/test_log.py�makeFailurer s7 � �� �A��
�H�� � ��O�O����H��s � �*�*c �| � e Zd ZdZ G d� d� Z G d� deej � Z G d� deej � Z y) �Maskz?
Hide C{MockTest}s from Trial's automatic test finder.
c �$ � e Zd Zd� Zd� Zd� Zd� Zy)�Mask.FailureLoggingMixinc � � y)z/
Don't log any errors.
N� ��selfs r �test_silentz$Mask.FailureLoggingMixin.test_silent s � � c �>