a
    fezap                     @   s$   d Z ddlZddlmZ dd ZdS )z2Test the old numpy pickler, compatibility version.    N)numpy_pickle_compatc                 C   s   |  dj}td}t|d}t|| W d    n1 sB0    Y  t|d}t|}W d    n1 sv0    Y  ||ksJ d S )Nztest.pklzFoo, 
 Bar, baz, 

foobarwbrb)joinZstrpathr   ZasbytesopenZwrite_zfileZ
read_zfile)ZtmpdirfilenamedatafZ	data_read r
   Clib/python3.9/site-packages/joblib/test/test_numpy_pickle_compat.pytest_z_file
   s    
*(r   )__doc__ZrandomZjoblibr   r   r
   r
   r
   r   <module>   s   