Current File : //proc/self/root/lib/python3/dist-packages/twisted/trial/test/__pycache__/test_log.cpython-312.pyc |
�
Ϫ�fh � �� � 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 �>