6d8625611ff936bab56d15a2b36e0aba7e54612e,src/python/pants/backend/python/tasks2/pytest_run.py,PytestRun,_do_run_tests,#PytestRun#Any#Any#,453

Before Change


      if resultlog_arg:
        return run_and_analyze(resultlog_arg)
      else:
        with temporary_file_path() as resultlog_path:
          args.insert(0, "--resultlog={0}".format(resultlog_path))
          return run_and_analyze(resultlog_path)

  def _pex_run(self, pex, workunit, args, env):
    process = self._spawn(pex, workunit, args, setsid=False, env=env)
    return process.wait()

After Change


      external_junit_xml_dir = self.get_options().junit_xml_dir
      if external_junit_xml_dir:
        safe_mkdir(external_junit_xml_dir)
        shutil.copy(junitxml_path, external_junit_xml_dir)
      failed_targets = self._get_failed_targets_from_junitxml(junitxml_path, targets)
      return result.with_failed_targets(failed_targets)

  def _pex_run(self, pex, workunit, args, env):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: 6d8625611ff936bab56d15a2b36e0aba7e54612e
Time: 2017-03-30
Author: benjyw@gmail.com
File Name: src/python/pants/backend/python/tasks2/pytest_run.py
Class Name: PytestRun
Method Name: _do_run_tests


Project Name: okfn-brasil/serenata-de-amor
Commit Name: 42e512a4decb829b27d4e15cb6caccdc2c93e315
Time: 2017-10-18
Author: cuducos@users.noreply.github.com
File Name: jarbas/core/tests/test_reimbursement_task.py
Class Name: TestCreateOrUpdateTask
Method Name: test_create


Project Name: HyperGAN/HyperGAN
Commit Name: 1e339c1a0a186da155c9dc2ab8798075d248dc3e
Time: 2018-11-06
Author: mikkel@255bits.com
File Name: hypergan/optimizers/curl_optimizer.py
Class Name: CurlOptimizer
Method Name: apply_gradients