Current File : //usr/lib/python3/dist-packages/zope/interface/tests/__pycache__/test_exceptions.cpython-312.pyc |
�
��e � �� � d Z ddlZd� Z G d� dej � Z G d� dej � Zd� Z G d � d
ej � Z G d� dej � Zy)
z& zope.interface.exceptions unit tests
� Nc �( � ddl m} G d� d| � }|S )Nr )� Interfacec � � e Zd Zy)�_makeIface.<locals>.IDummyN)�__name__�
__module__�__qualname__� � �F/usr/lib/python3/dist-packages/zope/interface/tests/test_exceptions.py�IDummyr s � �r r
)�zope.interfacer )r r
s r �
_makeIfacer s � �(�
��
��Mr c �$ � e Zd Zd� Zd� Zd� Zd� Zy)�DoesNotImplementTestsc � � ddl m} |S )Nr )�DoesNotImplement)�zope.interface.exceptionsr )�selfr s r �_getTargetClassz%DoesNotImplementTests._getTargetClass s � �>��r c �D � t � } | j � |g|��� S )N�r r �r �args�ifaces r �_makeOnezDoesNotImplementTests._makeOne s$ � ����%�t�#�#�%�e�3�d�3�3r c �Z � | j � }| j t |� d� y )Nz�An object has failed to implement interface zope.interface.tests.test_exceptions.IDummy: Does not declaratively implement the interface.�r �assertEqual�str�r �dnis r �test___str__z"DoesNotImplementTests.test___str__"