| Server IP : 138.197.162.186 / Your IP : 216.73.216.184 Web Server : nginx/1.24.0 System : Linux ubuntu-s-1vcpu-512mb-10gb-tor1 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/zope/interface/common/tests/__pycache__/ |
Upload File : |
�
��eB � �h � d Z ddlmZ d� Zd� Zd� Zd� Zd� Zd� Zd � Z G d
� d� Z
G d� d
e
� Zy)zBase Mapping tests
� )�__getitem__c �� � |D ]R }| j || || � | j |j |d � || � | j ||v � �T |D ]� }| j |j |d � d � | j |j |� d � | j |j || � | � | j t t
||� �� y �N)�assertEqual�get�
assertTrue�assertRaises�KeyErrorr )�self�inst�state�absent�keys �I/usr/lib/python3/dist-packages/zope/interface/common/tests/basemapping.py�testIReadMappingr s� � �� %������c��E�#�J�/�������#�t�,�e�C�j�9�����t��$�%�
� <��������#�t�,�d�3�������#���-�������#�t�,�d�3����(�K��s�;� <� c �� � t |j � � }|j � t |j � � }|j � | j ||� y r )�list�keys�sortr �r r r
� inst_keys�
state_keyss r � test_keysr sD � ��T�Y�Y�[�!�I�9�>�>�#3��e�j�j�l�#�J�j�o�o�&7����Y�
�+r c � � t |� }|j � t |j � � }|j � | j ||� y r )r r r r r s r � test_iterr % s= � ��T�
�I�I�N�N�,��e�j�j�l�#�J�j�o�o�&7����Y�
�+r c �� � t |j � � }|j � t |j � � }|j � | j ||� y r )r �valuesr r )r r r
�inst_values�state_valuess r �test_valuesr! + sH � ��t�{�{�}�%�K�{�'7�'7�'9������'�L�,�*;�*;�*=����[�,�/r c �� � t |j � � }|j � t |j � � }|j � | j ||� y r )r �itemsr r )r r r
�
inst_items�state_itemss r �
test_itemsr&