code: def __call__(self, doctests=True, parallel=False):
      try:
          import pytest
      except ImportError:
          raise RuntimeError(
              "py.test not installed, run: pip install pytest"
          )
      args = []
      if not doctests:
          args.extend(["-p", "no:doctest"])
      if parallel:
          try:
              import xdist
          except ImportError:
              raise RuntimeError(
                  "pytest-xdist required for parallel run"
              )
          args.append("-n auto")
      args.append(os.path.dirname(__file__))
      pytest.main(args=args)
  
file_path: nipype/nipype/__init__.py
imports: import os
  from looseversion import LooseVersion
  from .info import URL, STATUS, __version__
  from .utils.config import NipypeConfig
  from .utils.logger import Logging
  from .refs import due
  from .pkg_info import get_pkg_info
  from .pipeline import Node, MapNode, JoinNode, Workflow
  from .interfaces import DataGrabber, DataSink, SelectFiles, IdentityInterface, Rename, Function, Select, Merge
label_desc: Use image node_id 1 for calling the NipypeTester obj's underlying member method code with example usage: obj.__call__(doctests, parallel) without return types