code: def test_download(tmpdir):
      resource = textacy.resources.ConceptNet(data_dir=str(tmpdir))
      resource.download()
      assert resource._filepath.is_file()
  
imports: import pytest
  import textacy
  import textacy.resources
label_desc: Use image node_id 2 for calling a global function with example usage: test_download(tmpdir) without return types