code: def get_test_trial(id=1):
      p = {"a": 1, "b": 2}
      t = sherpa.Trial(id, p)
      return t
  
file_path: sherpa/tests/testing_utils.py
imports: import pytest
  import sherpa
  import sherpa.core
  import sherpa.schedulers
  import sherpa.database
  import logging
  import tempfile
  import shutil
label_desc: Use image node_id 3 for calling a global function with example usage: get_test_trial(id) and returns: t