062a2fdb445837866779428663da506d438d15df,mozregression/test_runner.py,ManualTestRunner,run_once,#ManualTestRunner#Any#,120

Before Change


        return verdict, app_infos

    def run_once(self, build_info):
        launcher = self.create_launcher(build_info)
        launcher.start(**self.launcher_kwargs)
        launcher.get_app_info()
        try:
            return launcher.wait()

After Change


        return verdict, app_infos

    def run_once(self, build_info):
        with self.create_launcher(build_info) as launcher:
            launcher.start(**self.launcher_kwargs)
            launcher.get_app_info()
            return launcher.wait()


def _raise_command_error(exc, msg=""):
    raise TestCommandError("Unable to run the test command%s: `%s`"
                           % (msg, exc))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: mozilla/mozregression
Commit Name: 062a2fdb445837866779428663da506d438d15df
Time: 2015-09-03
Author: j.parkouss@gmail.com
File Name: mozregression/test_runner.py
Class Name: ManualTestRunner
Method Name: run_once


Project Name: mozilla/mozregression
Commit Name: 062a2fdb445837866779428663da506d438d15df
Time: 2015-09-03
Author: j.parkouss@gmail.com
File Name: mozregression/test_runner.py
Class Name: CommandTestRunner
Method Name: evaluate


Project Name: mozilla/mozregression
Commit Name: 062a2fdb445837866779428663da506d438d15df
Time: 2015-09-03
Author: j.parkouss@gmail.com
File Name: mozregression/test_runner.py
Class Name: ManualTestRunner
Method Name: evaluate