5f00a7c91b760f3b98c0323224f36802bde0bc4d,test/test_scenario/test_scenario.py,ScenarioTest,tearDown,#ScenarioTest#,327

Before Change


                          ["feature1", "feature2", "feature3"])

    def tearDown(self):
        shutil.rmtree(self.test_scenario_dict["output_dir"], ignore_errors=True)
        os.chdir(self.current_dir)

if __name__ == "__main__":
    unittest.main()

After Change


                shutil.rmtree(output_dir, ignore_errors=True)
        for output_file in self.output_files:
            if output_file:
                try:
                    os.remove(output_file)
                except FileNotFoundError as e:
                    pass
        os.chdir(self.current_dir)

    def test_Exception(self):
        with self.assertRaises(TypeError):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: automl/SMAC3
Commit Name: 5f00a7c91b760f3b98c0323224f36802bde0bc4d
Time: 2017-12-18
Author: kimmiga@informatik.uni-freiburg.de
File Name: test/test_scenario/test_scenario.py
Class Name: ScenarioTest
Method Name: tearDown


Project Name: automl/auto-sklearn
Commit Name: 0648d3a235c4f9d17a12e10f938e8d87dcc7854a
Time: 2015-09-25
Author: feurerm@informatik.uni-freiburg.de
File Name: autosklearn/estimators.py
Class Name: AutoSklearnClassifier
Method Name: _delete_output_directories


Project Name: Featuretools/featuretools
Commit Name: ce4558b30526b44234096465c069085cab395425
Time: 2019-09-13
Author: chidauri@gmail.com
File Name: featuretools/entityset/serialize.py
Class Name:
Method Name: write_data_description