HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/zope/component/__pycache__/eventtesting.cpython-310.pyc
o

,�W'�@s�dZddlmZddlmZddlmZddlmZddlmZddlm	Z	zddl
mZWn
ey;d	d
�ZYnwgZ
ddd
�Zdd�Zee�Gdd�d�Zddd�ZdS)zPlaceless Test Setup
�)�provideHandler)�objectEventNotify)� dispatchUtilityRegistrationEvent)� dispatchAdapterRegistrationEvent)�,dispatchSubscriptionAdapterRegistrationEvent)� dispatchHandlerRegistrationEvent)�
addCleanUpcCsdS�N�)�xr
r
�=/usr/lib/python3/dist-packages/zope/component/eventtesting.pyrsrNcCsBg}tD]}|dur|�|�sq|dur||�sq|�|�q|Sr	)�events�
providedBy�append)�
event_type�filter�r�eventr
r
r�	getEventssrcCstdd�=dSr	)r
r
r
r
r�clearEvents)�rc@seZdZdd�ZdS)�PlacelessSetupcCs8tt�tt�tt�tt�tt�ttjd�dS)Nr	)rrrrrrr
r)�selfr
r
r�setUp/szPlacelessSetup.setUpN)�__name__�
__module__�__qualname__rr
r
r
rr-srcCst���dSr	)rr)�testr
r
rr7rr)NNr	)�__doc__�zope.componentr�zope.component.eventr�zope.component.registryrrrr�zope.testing.cleanupr�ImportErrorr
rrrrr
r
r
r�<module>s$
�