code: def test_download(tmpdir):
      dataset = IMDB(data_dir=str(tmpdir))
      dataset.download()
      assert dataset.data_dir.joinpath("aclImdb").is_dir()
  
file_path: textacy/tests/datasets/test_imdb.py
imports: import datetime
  import os
  import pytest
  from textacy.datasets.imdb import IMDB
label_desc: Use image node_id 2 for calling a global function with example usage: test_download(tmpdir) without return types