%PDF- %PDF-
Direktori : /lib/python3/dist-packages/twisted/test/__pycache__/ |
Current File : //lib/python3/dist-packages/twisted/test/__pycache__/test_cooperator.cpython-312.pyc |
� Ϫ�f[S � �� � d Z ddlmZmZmZ ddlmZ G d� d� Z G d� d� Z G d� d ej � Z G d � de� Z G d� d ej � Z G d� dej � Zy)z_ This module contains tests for L{twisted.internet.task.Cooperator} and related functionality. � )�defer�reactor�task)�unittestc � � e Zd ZdZd� Zd� Zy)�FakeDelayedCallzA Fake delayed call which lets us simulate the scheduler. c � � || _ d| _ y)z+ A function to run, later. FN)�func� cancelled��selfr s �>/usr/lib/python3/dist-packages/twisted/test/test_cooperator.py�__init__zFakeDelayedCall.__init__ s � � �� ���� c � � d| _ y)z. Don't run my function later. TN)r �r s r �cancelzFakeDelayedCall.cancel s � � ��r N)�__name__� __module__�__qualname__�__doc__r r � r r r r s � ���r r c �"