code: def setup(self):
      if self.dtest is not None:
          self.fixture_request = _setup_fixtures(self)
          globs = dict(getfixture=self.fixture_request.getfixturevalue)
          for name, value in self.fixture_request.getfixturevalue(
              "doctest_namespace"
          ).items():
              globs[name] = value
          self.dtest.globs.update(globs)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import inspect
  import platform
  import sys
  import traceback
  import warnings
  from contextlib import contextmanager
  import pytest
  from _pytest._code.code import ExceptionInfo
  from _pytest._code.code import ReprFileLocation
  from _pytest._code.code import TerminalRepr
  from _pytest.compat import safe_getattr
  from _pytest.fixtures import FixtureRequest
  from _pytest.outcomes import Skipped
  from _pytest.warning_types import PytestWarning
label_desc: Use image node_id 2 for calling the DoctestItem obj's underlying member method code with example usage: obj.setup() without return types