Sindbad~EG File Manager
�
'ΜgI; � � � d dl Zd dlZd dlZd dlZd dlZd dlmZ G d� dej � Z e
dk( r ej � yy)� N)�C_RECURSION_LIMITc �l � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z
d � Zd
� Zd� Z
d� Zd
� Zd� Zd� Zd� Zy)�DictSetTestc � � t i j � � }| j t |i � | j t |� t i j � � }| j t |i � | j t |� t i j � � }| j t |i � | j t |� y �N)�type�keys�assertRaises� TypeError�items�values)�self�kt�it�vts �0/usr/local/lib/python3.12/test/test_dictviews.py�test_constructors_not_callablez*DictSetTest.test_constructors_not_callable
s� � �
�"�'�'�)�_�����)�R��,����)�R�(�
�"�(�(�*�
�����)�R��,����)�R�(�
�"�)�)�+�
�����)�R��,����)�R�(� c � � ddd�}|j � }| j t |� d� | j t |� ddh� | j |ddh� | j |h d�� | j |ddh� | j |dh� | j |d � | j d|� | j d|� | j
d|� | j
d
|� | j |j � |j � � ddd�}| j |j � |j � � |d= | j |j � |j � � y )
N�
�ABC�� �a� r r > r �br r �* �Z� �def)r �assertEqual�len�set�assertNotEqual�assertIn�assertNotIn)r �dr �es r �test_dict_keyszDictSetTest.test_dict_keys s> � ������v�v�x������T��A�&�����T��Q��H�-������3�x�(����D�-�0����D�1�c�(�+����D�1�#�&����D�"�%��
�
�a����
�
�c�4� �����T�"�����d�#��������1�6�6�8�,������������1�6�6�8�,�
�c�F����A�F�F�H�a�f�f�h�/r c � � ddd�}|j � }| j t |� d� | j t |� ddh� | j |ddh� | j |h d�� | j |ddh� | j |dh� | j |d � | j d|� | j d|� | j
d
|� | j
d|� | j
d|� | j
d
|� | j
d|� | j |j � |j � � |j � }| j |j � |j � � d|d<