code: def temp_filename(directory, suffix):
      temp_name = next(tempfile._get_candidate_names())
      filename = os.path.join(directory, temp_name + suffix)
  
      return filename
  
file_path: pyvips/tests/helpers/helpers.py
imports: import os
  import sys
  import tempfile
  import pytest
  import pyvips
label_desc: Use image node_id 3 for calling a global function with example usage: temp_filename(directory, suffix) and returns: filename