o
    Mfå  ã                   @   s    d dl mZ dd„ Zdd„ ZdS )é    )Údownloadc                 C   s(   t |  d¡ƒ}td|ƒ}|du sJ ‚dS )zSTest that download works properly when the parent folder of the download_dir existsÚanother_dirÚmwa_ppdbTN©ÚstrÚjoinpathr   ©Útmp_pathÚdownload_dirÚdownload_status© r   ú`/var/www/html/analyze/labelStudio/lib/python3.10/site-packages/nltk/test/unit/test_downloader.pyÚ2test_downloader_using_existing_parent_download_dir   s   
r   c                 C   s*   t |  dd¡ƒ}td|ƒ}|du sJ ‚dS )z[Test that download works properly when the parent folder of the download_dir does not existznon-existing-parent-folderzanother-non-existing-folderr   TNr   r   r   r   r   Ú6test_downloader_using_non_existing_parent_download_dir   s
   
ÿ
r   N)Únltkr   r   r   r   r   r   r   Ú<module>   s    