code: def test_file_dir():
      return pathlib.Path(pathlib.Path(__file__).parent, "test_files")
  
file_path: gradio/test/conftest.py
imports: import inspect
  import pathlib
  from contextlib import contextmanager
  import pytest
  from gradio_client import Client
  import gradio
label_desc: Use image node_id 2 for calling a global function with example usage: test_file_dir() and returns: pathlib