| 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/__pycache__/ |
Upload File : |
�
���g[
� � � d dl Z d dlmZ d dlmZ G d� dej
ej e j � Ze dk( r e j � yy)� N)�string_tests)�
UserStringc �: � e Zd ZeZd� Zdd�d�Zd� Zd� Zd� Z d� Z
y) �UserStringTestc � � | j |� }| j |� } t ||� |i |��}| j ||� y �N)�fixtype�getattr�assertEqual)�self�result�object�
methodname�args�kwargs�
realresults �)C:\Python312\\Lib\test\test_userstring.py�
checkequalzUserStringTest.checkequal sJ � ����f�%�����f�%��0�W�V�Z�0�$�A�&�A�
������
� N)�expected_msgc �* � | j |� }| j |� 5 } t ||� |� d d d � | j t j
� d� |�&| j
t |j
� |� y y # 1 sw Y �WxY w)N� )r �assertRaisesr
�assertNotEqual�str� exceptionr )r �exc�objr r r �cms r �checkraiseszUserStringTest.checkraises s| � ��l�l�3���
�
�
�s�
#�r�$�G�C��$�d�+� $����C����-�r�2��#����S����.��=� $� $�
#�s �B � Bc �D � | j |� } t ||� |� y r )r r
)r r r r s r � checkcallzUserStringTest.checkcall'