code: def test_oserror(tmpdir):
      dataset = UDHR(data_dir=str(tmpdir))
      with pytest.raises(OSError):
          _ = list(dataset.texts())
  
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 3 for calling a global function with example usage: test_oserror(tmpdir) without return types