code: def test_download(tmpdir):
      dataset = OxfordTextArchive(data_dir=str(tmpdir))
      dataset.download()
      assert os.path.isfile(dataset._metadata_filepath)
      assert os.path.isdir(dataset._text_dirpath)
  
file_path: textacy/tests/datasets/test_oxford_text_archive.py
imports: import datetime
  import os
  import pytest
  from textacy.datasets.oxford_text_archive import OxfordTextArchive
label_desc: Use image node_id 1 for calling a global function with example usage: test_download(tmpdir) without return types