| 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:/Python312/Lib/test/__pycache__/ |
Upload File : |
�
���g�[ � �` � d Z ddlZddlZddlZddlZddlZddlZddlZddl Z ddl
Z
ddlZddlmZ G d� d� Z
G d� d� Z G d� d e� Z G d
� de� Z G d� d
� Z G d� d� Z G d� d� Z G d� dej( ee� Z G d� dej( ee� Z G d� dej( ee� Z G d� dej( ee� Z G d� dej( ee� Z G d� dej( ee� Z G d� dej( � Zed k( r ej: � yy)!z�Unit tests for the memoryview
Some tests are in test_bytes. Many tests that require _testbuffer.ndarray
are in test_buffer.
� N)�
import_helperc � � e Zd Zy)�MyObjectN��__name__�
__module__�__qualname__� � �)C:\Python312\\Lib\test\test_memoryview.pyr r s � �r r c �� � e Zd ZdZed� � Zed� � Zd� Zd� Zd� Z d� Z
d� Zd � Zd
� Z
d� Zd� Zd
� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zy)�AbstractMemoryTests� abcdefc � � | j S �N)�source_bytes��selfs r �_sourcezAbstractMemoryTests._source s � �� � � r c �F � t d | j | j g� S r )�filter�ro_type�rw_typer s r �_typeszAbstractMemoryTests._types s � ��d�T�\�\�4�<�<�8�9�9r c �D �� || j � }t j |� }| j |� �| j �d t d� � | j
�d t � | j �d t d� � | j �d t d� � | j �d t d� � | j t �fd�� | j t �fd�� | j t �fd �� | j t �fd
�� | j t �fd�� | j t �fd�� | j t �fd
�� d �| j t j |� |� y )Nr � a� � f���i����c � �� � d S )N� r
��ms �r �<lambda>z=AbstractMemoryTests.check_getitem_with_type.<locals>.<lambda>. s �� �a��dr c � �� � d S )N���r
r"