Current File : //usr/lib/python3/dist-packages/twisted/trial/test/__pycache__/test_asyncassertions.cpython-312.pyc |
�
Ϫ�f� � �^ � d Z ddlZddlmZ ddlmZ ddlmZ G d� dej � Z y)zL
Tests for async assertions provided by C{twisted.trial.unittest.TestCase}.
� N)�defer)�failure)�unittestc �4 � e Zd ZdZd� Zd� Zd� Zd� Zd� Zd� Z y) �AsynchronousAssertionsTestszp
Tests for L{TestCase}'s asynchronous extensions to L{SynchronousTestCase}.
That is, assertFailure.
c �Z � t j d� � }| j |t � S )Nc � � ddz S �N� r � r � �I/usr/lib/python3/dist-packages/twisted/trial/test/test_asyncassertions.py�<lambda>z@AsynchronousAssertionsTests.test_assertFailure.<locals>.<lambda> �
� ��A�� r
)r �
maybeDeferred�
assertFailure�ZeroDivisionError��self�ds r �test_assertFailurez.AsynchronousAssertionsTests.test_assertFailure s&