code: def get_docdir():
      # assuming that documentation tests are run from a source
      # directory
      return os.path.abspath(
          os.path.join(
              os.path.dirname(__file__),
              "..",
              "..",
              "..",
              "doc",
              "source",
              "f2py",
              "code",
          )
      )
  
file_path: catboost/contrib/python/numpy/py3/numpy/f2py/tests/test_docs.py
imports: import os
  import pytest
  import numpy
  from numpy.testing import assert_array_equal, assert_equal
  from .None import util
label_desc: Use image node_id 1 for calling a global function with example usage: get_docdir() and returns: os