o
    &&i@                     @   sZ   d Z ddlmZmZ ddlmZ ddlmZ	 ddl
mZ eeedZdd Zd	d
 Zd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                  C   s4   t td} t| }|d jj}th d| d S )Nznasty_duplicate_fieldnames.matSummary>   Z_2_Station_QZ_3_Station_QZ_1_Station_Q)pjoinTEST_DATA_PATHr   Zdtypenamesr   issubset)Zmulti_fnamevarsZfunny_names r   RC:\wamp64\www\opt\env\Lib\site-packages\scipy/io/matlab/tests/test_pathological.pytest_multiple_fieldnames   s   
r   c                  C   sF   t td} t| d}ttt| W d    d S 1 sw   Y  d S )Nzmalformed1.matrb)r	   r
   openassert_raises
ValueErrorr   )fnamefr   r   r   test_malformed1   s   
"r   N)__doc__Zos.pathr   r   r	   Znumpy.testingr   Zpytestr   r   Zscipy.io.matlab._mior   __file__r
   r   r   r   r   r   r   <module>   s    
