U
    9%e                     @   sX   d dl mZ d dlmZmZ d dlmZmZ d dlm	Z	 d dlm
Z
 dd Zdd	 Zd
S )    )join)BufferedReaderBytesIO)	isfileobj
_isfileobj)assert_)tempdirc               
   C   s   t ddv} t| d}t|d}tt| W 5 Q R X t|d}tt| W 5 Q R X t|d}tt| W 5 Q R X W 5 Q R X d S )Nnumpy_test_compat_prefixa.binwbabrb)r   r   openr   r   folderfilenamef r   ]/var/www/html/Darija-Ai-API/env/lib/python3.8/site-packages/numpy/compat/tests/test_compat.pytest_isfileobj	   s    
r   c               
   C   s   t dd} t| d}t|d}tt| W 5 Q R X t|d}tt| W 5 Q R X t|d}tt| W 5 Q R X tttt dk W 5 Q R X d S )Nr	   r
   r   r   r   r   F)r   r   r   r   r   r   r   r   r   r   r   test__isfileobj   s    
r   N)os.pathr   ior   r   Znumpy.compat.py3kr   r   Znumpy.testingr   r   r   r   r   r   r   r   <module>   s   