| Server IP : 121.121.20.254 / Your IP : 216.73.217.84 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 dlZd dlZd dlZd dlZd dlZd dl Z G d� d� Z
G d� d� Z G d� d� Z G d � d
eee j � Z G d� d� Z G d
� deeee j � Z G d� dee j � Z G d� de� Z G d� de� Z G d� de� Zedk( r e j, � yy)� N)�supportc � � e Zd Zd� Zd� ZeZy)�IntLikec � � || _ y �N��_num)�self�nums �'C:\Python312\\Lib\test\test_memoryio.py�__init__zIntLike.__init__ s � ��� � c � � | j S r r �r
s r � __index__zIntLike.__index__ s � ��y�y�r N)�__name__�
__module__�__qualname__r
r �__int__� r r r r s � ����Gr r c �* � e Zd Zd� Zd� Zd� Zd� Zd� Zy)�MemorySeekTestMixinc �H � | j d� }| j |� }y �N�
1234567890)�buftype�ioclass�r
�buf�bytesIos r �testInitzMemorySeekTestMixin.testInit s � ��l�l�<�(���,�,�s�#�r c �t � | j d� }| j |� }| j |d d |j d� � | j |dd |j d� � | j |dd |j d� � | j | j |j � � y )Nr � � � � �r r �assertEqual�read�EOFr s r �testReadzMemorySeekTestMixin.testRead s� � ��l�l�<�(���,�,�s�#������R�a��'�,�,�q�/�2�����Q�q��7�<�<��?�3�����Q�R��'�,�,�s�"3�4�������7�<�<�>�2r c �� � | j d� }| j |� }| j ||j � � | j | j |j � � y r r'