| Server IP : 121.121.20.254 / Your IP : 216.73.217.51 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:/Python315/Lib/test/__pycache__/ |
Upload File : |
R
>lqj� c �< � Q s ] QHGs ] QHGsGs ] PHs] PHs] PH s Q Q\O 2 s
Q Q\O 2 s\Q6X cN \
\O 2 ]6� c$ \O \O ]* 2 \O 2 P! P! )aT
These tests are meant to exercise that requests to create objects bigger
than what the address space allows are properly met with an OverflowError
(rather than crash weirdly).
Primarily, this means 32-bit builds with at least 2 GiB of available memory.
You need to pass the -M option to regrtest (e.g. "-M 2.1G") for tests to
be enabled.
)�support)�bigaddrspacetest�MAX_Py_ssize_tc �R ` � \ sQ s]s n \Q 2 s\Q 2 s\Q 2 sQsU s P! )� BytesTestc � � Q [ ]�*
* oU O [ [ O UQ2 PoP! Poh 9 h�� xs� xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)r �assertRaises�
OverflowError�operator�add��self�xs & �+C:\Python315\\Lib\test\test_bigaddrspace.py�test_concat�BytesTest.test_concat s9 � �
����,�-�A����m�X�\�\�1�j�I��A���A�� �:A �Ac �L � Q [ ]�*
* oU O [ 2 9^tt^ 2 oUQ* oPPP2 U O [ 2 9^tt^ 2 oUQ*
oPPP2 PoP! ) % f h KC9 h ) % f h K'9 h Poh 9 hr )r r r
�r r �cms & r �test_optimized_concat�BytesTest.test_optimized_concat s| � � ����,�-�A��"�"�=�1�1�R��
�N�� 2� �"�"�=�1�1�R��j� �� 2� �A� 2�1�� 2�1�� �A�sE �1B �
A9�%B �#
B�-B �9B �B �B �B �B �B �B#c � � Q [ ]�*
* oU O [ [ O U]�2 PoP! Poh 9 h)r )r r r
r �mulr
s & r �test_repeat�BytesTest.test_repeat/ s9 � � ����,�-�A����m�X�\�\�1�c�B��A���A�r � )
�__name__�
__module__�__qualname__�__firstlineno__r r r r �__static_attributes__�__classdictcell__��
__classdict__s @r r r s? �� � ��� �� �� �� �� �� r c �V ` � \ sQ s]8s n ]s\Q 2 s\Q 2 s\Q 2 sQs U s
P! )�StrTestc �� � Q [ [ QU O * * 2 * oU O [ [
O V2 PoP! Poh 9 h�r g�������?)�intr �unicodesizer �MemoryErrorr r r
s & r r �StrTest.test_concat<