code: def pytest_addoption(parser):
      group = parser.getgroup("terminal reporting")
      group._addoption(
          "--pastebin",
          metavar="mode",
          action="store",
          dest="pastebin",
          default=None,
          choices=["failed", "all"],
          help="send failed|all info to bpaste.net pastebin service.",
      )
  
file_path: catboost/contrib/python/pytest/py2/_pytest/pastebin.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import sys
  import tempfile
  import six
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: pytest_addoption(parser) without return types