567a3fa2307d5f84190b128f8976b5ba50e9fe47,studio/tests/local_worker_test.py,LocalWorkerTest,test_stop_experiment,#LocalWorkerTest#,96

Before Change


    @timeout(60)
    def test_stop_experiment(self):
        my_path = os.path.dirname(os.path.realpath(__file__))
        os.chdir(my_path)

        logger = logging.getLogger("test_stop_experiment")
        logger.setLevel(10)

After Change


        logger = logging.getLogger("test_stop_experiment")
        logger.setLevel(10)

        config_name = os.path.join(my_path, "test_config.yaml")
        key = "test_stop_experiment"

        db = model.get_db_provider(model.get_config(config_name))
        try:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: studioml/studio
Commit Name: 567a3fa2307d5f84190b128f8976b5ba50e9fe47
Time: 2017-07-05
Author: peter.zhokhov@sentient.ai
File Name: studio/tests/local_worker_test.py
Class Name: LocalWorkerTest
Method Name: test_stop_experiment


Project Name: mne-tools/mne-python
Commit Name: 8dc6485155f3571325a9f1cde3299cd2288ecf8e
Time: 2018-12-01
Author: larson.eric.d@gmail.com
File Name: mne/commands/tests/test_commands.py
Class Name:
Method Name: test_flash_bem


Project Name: Cadene/bootstrap.pytorch
Commit Name: af898ca25b22e6f388e7fe493ce78e5f5e026d72
Time: 2020-05-17
Author: mcoaky@gmail.com
File Name: tests/test_new.py
Class Name:
Method Name: test_new


Project Name: facebookresearch/pytext
Commit Name: cb8e2c5d60f79803d234da504477193611836d1f
Time: 2020-04-20
Author: stevenliu@fb.com
File Name: tests/main_test.py
Class Name: TestMain
Method Name: setUp