code: def get_testdata_path(fname):
      return os.path.join(os.path.dirname(__file__), "testdata", fname)
  
imports: import os
  import types
  from absl.testing import absltest
  from absl.testing import parameterized
  from lit_nlp.api import dataset
  from lit_nlp.api import types
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: get_testdata_path(fname) and returns: os