code: def results_path(tmpdir_factory):
      temp = tmpdir_factory.mktemp("logs")
      p = os.path.realpath(str(temp))
      log_path = os.path.join(p, "results.txt")
      yield log_path
      if temp.exists():
          shutil.rmtree(str(temp))
  
file_path: impyute/test/conftest.py
imports: import os
  import shutil
  import pytest
  import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: results_path(tmpdir_factory) without return types