parameters: (self)
docstring: Execute the tests in the run using up to the specified number of
          parallel tasks, and inform the caller of each individual result. The
          provided tests should be a subset of the tests available in this run
          object.
  
          The progress_callback will be invoked for each completed test.
  
          If timeout is non-None, it should be a time in seconds after which to
          stop executing tests.
  
          Returns the elapsed testing time.
  
          Upon completion, each test in the run will have its result
          computed. Tests which were not actually executed (for any reason) will
          be marked SKIPPED.
docstring_summary: Execute the tests in the run using up to the specified number of
          parallel tasks, and inform the caller of each individual result. The
          provided tests should be a subset of the tests available in this run
          object.
docstring_tokens: Execute the tests in the run using up to the specified number of parallel tasks and inform the caller of each individual result . The provided tests should be a subset of the tests available in this run object .
function: def execute(self):
          """
          Execute the tests in the run using up to the specified number of
          parallel tasks, and inform the caller of each individual result. The
          provided tests should be a subset of the tests available in this run
          object.
  
          The progress_callback will be invoked for each completed test.
  
          If timeout is non-None, it should be a time in seconds after which to
          stop executing tests.
  
          Returns the elapsed testing time.
  
          Upon completion, each test in the run will have its result
          computed. Tests which were not actually executed (for any reason) will
          be marked SKIPPED.
          """
          self.failures = 0
  
          # Larger timeouts (one year, positive infinity) don't work on Windows.
          one_week = 7 * 24 * 60 * 60  # days * hours * minutes * seconds
          timeout = self.timeout or one_week
          deadline = time.time() + timeout
  
          try:
              self._execute(deadline)
          finally:
              skipped = lit.Test.Result(lit.Test.SKIPPED)
              for test in self.tests:
                  if test.result is None:
                      test.setResult(skipped)
function_tokens: def execute ( self ) : self . failures = 0 # Larger timeouts (one year, positive infinity) don't work on Windows. one_week = 7 * 24 * 60 * 60 # days * hours * minutes * seconds timeout = self . timeout or one_week deadline = time . time ( ) + timeout try : self . _execute ( deadline ) finally : skipped = lit . Test . Result ( lit . Test . SKIPPED ) for test in self . tests : if test . result is None : test . setResult ( skipped )