| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/test/test_capi/__pycache__/ |
Upload File : |
�
���g# � � � d dl Z d dlmZ ej d� Z G d� de� Z G d� de� Z G d� d e j � Z
ed
k( r e j � yy)� N)�
import_helper� _testcapic � � e Zd Zy)�set_subclassN��__name__�
__module__�__qualname__� � �,C:\Python312\\Lib\test\test_capi\test_set.pyr r � � �r r c � � e Zd Zy)�frozenset_subclassNr r r r
r r r r r c �l � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z
d � Zd
� Zd� Z
d� Zd
� Zd� Zd� Zd� Zy)�TestSetCAPIc � � | j t |t � g|��� | j t |t dh� g|��� | j t |t � g|��� | j t |t dh� g|��� y )N� )�assertRaises�SystemError� frozensetr )�self�action�argss r
�assertImmutablezTestSetCAPI.assertImmutable sz � �����+�v�y�{�B�T�B�����+�v�y�!��~�E��E�����+�v�/A�/C�K�d�K�����+�v�/A�1�#�/F�N��Nr c � � t j }| j |t � � � | j |ddh� � | j |t � � � | j |t
� � � | j |t � � � | j |t � � � y �Nr � ) r � set_check�
assertTrue�set�assertFalser r r �object�r �checks r
�test_set_checkzTestSetCAPI.test_set_check s� � ��#�#������c�e��%�����q�!�f�
�&�����y�{�+�,�����l�n�-�.�����1�3�4�5�����v�x��)r c � � t j }| j |t � � � | j |ddh� � | j |t � � � | j |t
� � � | j |t � � � | j |t � � � y r ) r �set_checkexactr r! r"