| 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$ � �t � d Z ddlmZmZ ddlmZ ddlmZ ddl
mZ e ee� � d� � Z
d� Zd� Zd S )
z� Test reading of files not conforming to matlab specification
We try and read any file that matlab reads, these files included
� )�dirname�join)�assert_)�raises)�loadmat�datac �� � t t d� � } t | � � }|d j j }t t
g d�� � � |� � � � d S )Nznasty_duplicate_fieldnames.mat�Summary)�_1_Station_Q�_2_Station_Q�_3_Station_Q)�pjoin�TEST_DATA_PATHr �dtype�namesr �set�issubset)�multi_fname�vars�funny_namess �I/usr/lib/python3/dist-packages/scipy/io/matlab/tests/test_pathological.py�test_multiple_fieldnamesr st � � ��(H�I�I�K��;���D��y�/�'�-�K��C� %� %� %�
&�
&�&.�h�{�&;�&;�=� =� =� =� =� c � � t t d� � } t | d� � 5 }t t t
|� � d d d � � d S # 1 swxY w Y d S )Nzmalformed1.mat�rb)r r �open�
assert_raises�
ValueErrorr )�fname�fs r �test_malformed1r! s� � �
�.�"2�3�3�E�
�e�T� � � .�a��j�'�1�-�-�-�.� .� .� .� .� .� .� .� .� .� .� .���� .� .� .� .� .� .s �A�A�AN)�__doc__�os.pathr r r �
numpy.testingr �pytestr r �scipy.io.matlab._mior �__file__r r r! � r r �<module>r) s� ��� � +� *� *� *� *� *� *� *� !� !� !� !� !� !� *� *� *� *� *� *� (� (� (� (� (� (���w�w�x�(�(�&�1�1��=� =� =�.� .� .� .� .r