| Server IP : 121.121.20.254 / Your IP : 216.73.217.109 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/support/__pycache__/ |
Upload File : |
�
���g
� �f � d dl mZmZ G d� d� Z G d� d� Z G d� d� Z G d� d e� Zy
)� )�copysign�isnanc �L � e Zd Zd
d�Zd
d�Zd
d�Zd
d�Zd
d�Zd
d�Zd
d�Z d
d �Z
y)�ExtraAssertionsNc �n � t ||� ry |�d|��}| j | j ||� � y )Nz is not a subclass of ��
issubclass�fail�_formatMessage��self�cls�
superclass�msg�standardMsgs �*C:\Python312\\Lib\test\support\testcase.py�assertIsSubclassz ExtraAssertions.assertIsSubclass s9 � ��c�:�&����5�j�^�D��� � �$�%�%�c�;�7�8� c �n � t ||� sy |�d|��}| j | j ||� � y )Nz is a subclass of r r s r �assertNotIsSubclassz#ExtraAssertions.assertNotIsSubclass s9 � ��#�z�*����1�*��@��� � �$�%�%�c�;�7�8r c �4 � t ||� s�t |t j � rd|j �d|��}n=t |t
� rd|j �d|��}nt |� j �d|��}| j
| j ||� � y y )N�module z has no attribute �type object z object has no attribute ��hasattr�
isinstance�types�
ModuleType�__name__�typer
r �r
�obj�namer r s r �
assertHasAttrzExtraAssertions.assertHasAttr s� � ��s�D�!��#�u�/�/�0� '����'7�7I�$��R���C��&� ,�S�\�\�,<�<N�t�h�W��!%�c��!3�!3� 6�6O�PT�x�X���I�I�d�)�)�#�{�;�<� "r c �4 � t ||� r�t |t j � rd|j �d|��}n=t |t
� rd|j �d|��}nt |� j �d|��}| j
| j ||� � y y )Nr z has unexpected attribute r z! object has unexpected attribute r r! s r �assertNotHasAttrz ExtraAssertions.assertNotHasAttr s� � ��3����#�u�/�/�0� '����'7�7Q�RV�QY�Z���C��&� ,�S�\�\�,<�<V�W[�V^�_��!%�c��!3�!3� 6�6W�X\�W_�`���I�I�d�)�)�#�{�;�<� r c �x � |j |� ry |�d|��}| j | j ||� � y )Nz doesn't start with ��
startswithr
r )r
�s�prefixr r s r �assertStartsWithz ExtraAssertions.assertStartsWith&