code: def tmp(tmp_path_factory):
      td = TemporaryDirectory(dir=tmp_path_factory.getbasetemp())
      try:
          yield td.name
      finally:
          td.cleanup()
  
imports: import os
  import sys
  import pytest
  from tempfile import TemporaryDirectory
label_desc: Use image node_id 3 for calling a global function with example usage: tmp(tmp_path_factory) without return types