code: def test_download(tmpdir):
      dataset = UDHR(data_dir=str(tmpdir))
      dataset.download()
      assert os.path.isfile(dataset._index_filepath)
      assert os.path.isdir(dataset._texts_dirpath)
  
file_path: textacy/tests/datasets/test_udhr.py
imports: import os
  import pytest
  import textacy
  from textacy.datasets.udhr import UDHR
label_desc: Use image node_id 2 for calling a global function with example usage: test_download(tmpdir) without return types