HEX
Server: Apache
System: Linux bd12.noc223.com 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: handcraf (1693)
PHP: 8.1.28
Disabled: NONE
Upload Files
File: //opt/alt/python312/lib64/python3.12/test/__pycache__/test_xxlimited.cpython-312.opt-1.pyc
�

~h�e�	����ddlZddlmZddlZejd�Zejd�ZGd�d�ZGd�deej�Z	Gd	�d
eej�Z
y)�N)�
import_helper�	xxlimited�xxlimited_35c�J�eZdZUejed<d�Zd�Zd�Zd�Z	d�Z
y)�CommonTests�modulec�8�|jj�}y�N)r�Xxo��self�xxos  �:/opt/alt/python312/lib64/python3.12/test/test_xxlimited.py�test_xxo_newzCommonTests.test_xxo_news���k�k�o�o���c��|jj�}|jt�5|jddd�|jt�5|`ddd�d|_|j|jd�|`|jt�5|jddd�y#1swY�yxYw#1swY�exYw#1swYyxYw)Ni�)rr�assertRaises�AttributeError�foo�assertEqualrs  r�test_xxo_attributeszCommonTests.test_xxo_attributess����k�k�o�o���
�
�
�~�
.�	��G�G�	�
�
�
�~�
.�	���	����������$�'��G�
�
�
�~�
.�	��G�G�	�	�	�	��	�	��	�	�s#�
B5�C�
C
�5B>�C
�
Cc�\�|j|jjdd�d�y)N���)rrr�r
s r�test_foozCommonTests.test_foos!�����������A�.��2rc�X�|jt|jjt��|j|jjt�|jjd�}|j
|d�|j
|j�d�y)N�abcd�ABCD)�
assertTrue�
issubclassr�Str�str�assertIsNotr�upper)r
�
custom_strings  r�test_strzCommonTests.test_str!sp�����
�4�;�;�?�?�C�8�9���������#�.�������/�
������/�����,�,�.��7rc�z�|jj�}|j|jd�d�y)N�abc)r�newr�demors  r�test_newzCommonTests.test_new)s*���k�k�o�o���������%��%�0rN)�__name__�
__module__�__qualname__�types�
ModuleType�__annotations__rrrr(r-�rrrr	s'������ ��3�8�1rrc�"�eZdZeZd�Zd�Zd�Zy)�
TestXXLimitedc�t�|jj�}|jj�}|j|jd�d�|j|j|�|�|j|j|�|�|j|jd�d�y�Nr*r�rrrr,�r
r�others   r�
test_xxo_demozTestXXLimited.test_xxo_demo1s����k�k�o�o��������!��������%��%�0�������#���,�������%��%�0�������!��d�+rc��|j|jj�5|jj�#1swYyxYwr
)rr�Errorrs r�
test_errorzTestXXLimited.test_error9s:��
�
�
�t�{�{�0�0�
1�	$��+�+�#�#�#�	$�	$�s	�=�Ac�j�|jj�}|j|jd�t	|�}|j|jd�t	|�}|j|jd�d|d<|j|dd�|j|dd�y)Nrrr)rrr�	x_exports�
memoryview)r
r�b1�b2s    r�test_bufferzTestXXLimited.test_buffer=s����k�k�o�o����������*�
��_���������*�
��_���������*���1������A���"�����A���"rN)r.r/r0rrr<r?rEr4rrr6r6.s��
�F�,�$�	#rr6c�"�eZdZeZd�Zd�Zd�Zy)�TestXXLimited35c���|jj�}|jj�}|j|jd�d�|j|jd�d�yr8r9r:s   rr<zTestXXLimited35.test_xxo_demoLsR���k�k�o�o��������!��������%��%�0�������!��d�+rc��|jt�5|jjd�ddd�y#1swYyxYw)Nr)r�SystemErrorr�rojrs r�test_rojzTestXXLimited35.test_rojRs5��
�
�
�{�
+�	��K�K�O�O�A��	�	�	�s	�;�Ac��|jj�}|jj�}|j||�yr
)r�Null�assertNotEqual)r
�null1�null2s   r�	test_nullzTestXXLimited35.test_nullWs6����� � �"����� � �"�����E�5�)rN)r.r/r0rrr<rLrRr4rrrGrGIs��
�F�,��
*rrG)�unittest�test.supportrr1�
import_modulerrr�TestCaser6rGr4rr�<module>rWse���&��'�M�'�'��4�	�*�}�*�*�>�:��"1�"1�J#�K��!2�!2�#�6*�k�8�#4�#4�*r