class_docstr: Pytest test runner entry point.
class_docstr_tok: ["Pytest","test","runner","entry","point","."]
code: def __call__(
      self,
      label="fast",
      verbose=1,
      extra_argv=None,
      doctests=False,
      coverage=False,
      tests=None,
  ):
      import pytest
  
      module = sys.modules[self.module_name]
      module_path = os.path.abspath(module.__path__[0])
  
      pytest_args = ["-l"]
  
      if doctests:
          raise ValueError("Doctests not supported")
  
      if extra_argv:
          pytest_args += list(extra_argv)
  
      if verbose and int(verbose) > 1:
          pytest_args += ["-" + "v" * (int(verbose) - 1)]
  
      if coverage:
          pytest_args += ["--cov=" + module_path]
  
      if label == "fast":
          pytest_args += ["-m", "not slow"]
      elif label != "full":
          pytest_args += ["-m", label]
  
      if tests is None:
          tests = [self.module_name]
  
      pytest_args += ["--pyargs"] + list(tests)
  
      try:
          code = pytest.main(pytest_args)
      except SystemExit as exc:
          code = exc.code
  
      return code == 0
  
file_path: catboost/contrib/python/scipy/py2/scipy/_lib/_testutils.py
imports: from __future__ import division, print_function, absolute_import
  import os
  import re
  import sys
label_desc: Use image node_id 2 for calling the PytestTester obj's underlying member method code with example usage: obj.__call__(label, verbose, extra_argv, doctests, coverage, tests) and returns: unknown