code: def _test_local_install():
      """Warn the user that running with nipy being
      imported locally is a bad idea.
      """
      import os
  
      if os.getcwd() == os.sep.join(
          os.path.abspath(__file__).split(os.sep)[:-2]
      ):
          import warnings
  
          warnings.warn(
              "Running the tests from the install directory may "
              "trigger some failures"
          )
  
imports: import os
  from nipy.core.api import is_image
  from nipy.io.api import as_image, load_image, save_image
  from .pkg_info import get_pkg_info
label_desc: Use image node_id 1 for calling a global function with example usage: _test_local_install() without return types