
    g                         d dl mZ d Zd Zy)    )downloadc                 \    t        | j                  d            }t        d|      }|du sJ y)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_statuss      S/var/www/openai/venv/lib/python3.12/site-packages/nltk/test/unit/test_downloader.py2test_downloader_using_existing_parent_download_dirr      s3     x((78Lz<8Od"""    c                 ^    t        | j                  dd            }t        d|      }|du sJ y)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
   s      r   6test_downloader_using_non_existing_parent_download_dirr      s<     68UVL z<8Od"""r   N)nltkr   r   r    r   r   <module>r      s    ##r   