o
    tBhp                     @   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 s!w   Y  t|d}t|}W d    n1 s;w   Y  ||ksFJ d S )Nztest.pklzFoo, 
 Bar, baz, 

foobarwbrb)joinstrpathr   asbytesopenwrite_zfile
read_zfile)tmpdirfilenamedataf	data_read r   {/var/www/html/riverr-enterprise-integrations-main/venv/lib/python3.10/site-packages/joblib/test/test_numpy_pickle_compat.pytest_z_file
   s   
r   )__doc__randomjoblibr   r   r   r   r   r   <module>   s    