HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/lib/python3/dist-packages/zope/interface/tests/__pycache__/test_ro.cpython-38.pyc
U

ؒ�]��@sFdZddlZGdd�dej�ZGdd�dej�ZGdd�dej�ZdS)	z!Resolution ordering utility tests�Nc@s4eZdZdd�Zdd�Zdd�Zdd�Zd	d
�ZdS)�Test__mergeOrderingscCsddlm}||�S)Nr)�_mergeOrderings)�zope.interface.ror)�selfZ	orderingsr�r�>/usr/lib/python3/dist-packages/zope/interface/tests/test_ro.py�_callFUTszTest__mergeOrderings._callFUTcCs|�|�g�g�dS)N��assertEqualr�rrrr�
test_emptyszTest__mergeOrderings.test_emptycCs"|�|�dddg�dddg�dS)N�a�b�cr	rrrr�test_singlesz Test__mergeOrderings.test_singlecCs$|�|�dgddgg�ddg�dS)Nr
rr	rrrr�test_w_duplicatessz&Test__mergeOrderings.test_w_duplicatesc
CsNdddg}ddg}dddg}dg}|�|�||||g�dddddddg�dS)N�x�y�z�q���r	)rZO1ZO2ZO3ZO4rrr�%test_suffix_across_multiple_duplicats!s

�z:Test__mergeOrderings.test_suffix_across_multiple_duplicatsN)�__name__�
__module__�__qualname__rrrrrrrrrrs
rc@s4eZdZdd�Zdd�Zdd�Zdd�Zd	d
�ZdS)�
Test__flattencCsddlm}||�S)Nr)�_flatten)rr)r�obrrrrr,szTest__flatten._callFUTcCs4Gdd�dt�}|�}d|_|�|�|�|g�dS)Nc@seZdZdS)z-Test__flatten.test_w_empty_bases.<locals>.FooN�rrrrrrr�Foo1sr!r��object�	__bases__r
r�rr!Zfoorrr�test_w_empty_bases0sz Test__flatten.test_w_empty_basescCs*Gdd�dt�}|�|�|�|tg�dS)Nc@seZdZdS)z-Test__flatten.test_w_single_base.<locals>.FooNr rrrrr!8sr!�r#r
r�rr!rrr�test_w_single_base7sz Test__flatten.test_w_single_basecCs<Gdd�dt�}Gdd�d|�}|�|�|�||tg�dS)Nc@seZdZdS)z'Test__flatten.test_w_bases.<locals>.FooNr rrrrr!=sr!c@seZdZdS)z'Test__flatten.test_w_bases.<locals>.BarNr rrrr�Bar?sr*r'�rr!r*rrr�test_w_bases<szTest__flatten.test_w_basesc
CsfGdd�dt�}Gdd�d|�}Gdd�d|�}Gdd�d||�}|�|�|�|||t||tg�dS)	Nc@seZdZdS)z)Test__flatten.test_w_diamond.<locals>.FooNr rrrrr!Dsr!c@seZdZdS)z)Test__flatten.test_w_diamond.<locals>.BarNr rrrrr*Fsr*c@seZdZdS)z)Test__flatten.test_w_diamond.<locals>.BazNr rrrr�BazHsr-c@seZdZdS)z)Test__flatten.test_w_diamond.<locals>.QuxNr rrrr�QuxJsr.r'�rr!r*r-r.rrr�test_w_diamondCs�zTest__flatten.test_w_diamondN�rrrrr&r)r,r0rrrrr*s
rc@s4eZdZdd�Zdd�Zdd�Zdd�Zd	d
�ZdS)�Test_rocCsddlm}||�S)Nr)�ro)rr3)rrr3rrrrRszTest_ro._callFUTcCs4Gdd�dt�}|�}d|_|�|�|�|g�dS)Nc@seZdZdS)z'Test_ro.test_w_empty_bases.<locals>.FooNr rrrrr!Wsr!rr"r%rrrr&VszTest_ro.test_w_empty_basescCs*Gdd�dt�}|�|�|�|tg�dS)Nc@seZdZdS)z'Test_ro.test_w_single_base.<locals>.FooNr rrrrr!^sr!r'r(rrrr)]szTest_ro.test_w_single_basecCs<Gdd�dt�}Gdd�d|�}|�|�|�||tg�dS)Nc@seZdZdS)z!Test_ro.test_w_bases.<locals>.FooNr rrrrr!csr!c@seZdZdS)z!Test_ro.test_w_bases.<locals>.BarNr rrrrr*esr*r'r+rrrr,bszTest_ro.test_w_basescCsbGdd�dt�}Gdd�d|�}Gdd�d|�}Gdd�d||�}|�|�|�||||tg�dS)	Nc@seZdZdS)z#Test_ro.test_w_diamond.<locals>.FooNr rrrrr!jsr!c@seZdZdS)z#Test_ro.test_w_diamond.<locals>.BarNr rrrrr*lsr*c@seZdZdS)z#Test_ro.test_w_diamond.<locals>.BazNr rrrrr-nsr-c@seZdZdS)z#Test_ro.test_w_diamond.<locals>.QuxNr rrrrr.psr.r'r/rrrr0is�zTest_ro.test_w_diamondNr1rrrrr2Ps
r2)�__doc__ZunittestZTestCaserrr2rrrr�<module>s&