| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/scipy/io/matlab/tests/__pycache__/ |
Upload File : |
�
d�c� � �� � d Z ddlZddlZddlmZ ddlmZ ddlmZ ddl Z
ddlmZm
Z
ddlmZ ddlmZmZmZmZmZmZ ed � � � Zd
� Zd� Zd� Z G d
� d� � ZdS )z
Testing
� N)�BytesIO)�mkstemp)�contextmanager)�assert_�assert_equal)�raises)�make_stream�
GenericStream�ZlibInputStream�
_read_into�_read_string�
BLOCK_SIZEc # �v K � d} t � � \ }}t j |d� � 5 }|� | � � d d d � � n# 1 swxY w Y t |d� � 5 }t | � � }t | � � }|||fV � d d d � � n# 1 swxY w Y t j |� � d S )N� a string�wb�rb)r �os�fdopen�write�openr �unlink)�val�fd�fname�fs�gs�css �D/usr/lib/python3/dist-packages/scipy/io/matlab/tests/test_streams.py�setup_test_filer s- � � � �
�C�� � �I�B�� ��2�t� � � ��
����
�
�
�� � � � � � � � � � ���� � � � �
�e�T� � � �b�
�S�\�\��
�S�\�\���"�b�j����� � � � � � � � � � ���� � � � � �I�e�����s# �A
�
A�A�(&B�B�!Bc � � t � � 5 \ } }}t t t |� � t � � � � d d d � � d S # 1 swxY w Y d S )N)r r �
isinstancer r
)r r r s r �test_make_streamr"