code: def add_np(doctest_namespace):
      doctest_namespace["np"] = numpy
      doctest_namespace["os"] = os
      doctest_namespace["pytest"] = pytest
      doctest_namespace["datadir"] = data_dir
  
file_path: nipype/nipype/conftest.py
imports: import os
  import shutil
  from tempfile import mkdtemp
  import pytest
  import numpy
  import py.path
label_desc: Use image node_id 1 for calling a global function with example usage: add_np(doctest_namespace) without return types