code: def test_download(tmpdir):
      dataset = RedditComments(data_dir=str(tmpdir))
      dataset.download()
      assert all(
          os.path.isfile(filepath) for filepath in dataset.filepaths
      )
  
file_path: textacy/tests/datasets/test_reddit_comments.py
imports: import datetime
  import os
  import pytest
  from textacy.datasets.reddit_comments import RedditComments
label_desc: Use image node_id 1 for calling a global function with example usage: test_download(tmpdir) without return types