HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ip-172-26-0-120 6.17.0-1009-aws #9~24.04.2-Ubuntu SMP Fri Mar 6 23:50:29 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/twisted/trial/test/__pycache__/weird.cpython-312.pyc
�

oj���B�ddlZddlmZGd�dej�Zy)�N)�deferc��eZdZdZd�Zy)�TestBleedinga'This test creates an unhandled Deferred and leaves it in a cycle.

    The Deferred is left in a cycle so that the garbage collector won't pick it
    up immediately.  We were having some problems where unhandled Deferreds in
    one test were failing random other tests. (See #1507, #1213)
    c�~�	ddzg}|j|�y#t$rtj�}Y�4wxYw)N�r)�ZeroDivisionErrorr�fail�append)�self�f�ls   �:/usr/lib/python3/dist-packages/twisted/trial/test/weird.py�test_unhandledDeferredz#TestBleeding.test_unhandledDeferreds>��	�
��E��C��	������	!�	��
�
��A�	�s��<�<N)�__name__�
__module__�__qualname__�__doc__r��rrrs���rr)�unittest�twisted.internetr�TestCaserrrr�<module>rs���"�
�8�$�$�r