code: def run_tests(self):
      import pytest
  
      cwd = os.getcwd()
      try:
          os.chdir("tests")
          errno = pytest.main(self.pytest_args)
      finally:
          os.chdir(cwd)
      sys.exit(errno)
  
file_path: nupic-legacy/setup.py
imports: import os
  import pkg_resources
  import sys
  from setuptools import setup, find_packages, Extension
  from setuptools.command.test import test
label_desc: Use image node_id 3 for calling the TestCommand obj's underlying member method code with example usage: obj.run_tests() without return types