code: def pytest_addoption(parser):
      group = parser.getgroup("debugconfig")
      group.addoption(
          "--assert",
          action="store",
          dest="assertmode",
          choices=("rewrite", "plain"),
          default="rewrite",
          metavar="MODE",
          help="""Control assertion debugging tools.  'plain'
                              performs no assertion debugging.  'rewrite'
                              (the default) rewrites assert statements in
                              test modules on import to provide assert
                              expression information.""",
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import sys
  import six
  from _pytest.assertion import rewrite
  from _pytest.assertion import truncate
  from _pytest.assertion import util
label_desc: Use image node_id 1 for calling a global function with example usage: pytest_addoption(parser) without return types