2cf07cbc4b9ca699f53ba6e25dd4b828e01788a3,tests/test_input.py,,tearDown,#,53

Before Change


    for config_file in glob(join(config_dir, "test_config_parsing_*.cfg")):
        os.unlink(config_file)
    for auto_dir in glob(join(_my_dir, "auto*")):
        for auto_dir_file in os.listdir(auto_dir):
            os.unlink(join(auto_dir, auto_dir_file))
        os.rmdir(auto_dir)

After Change


    Clean up after tests.
    
    config_dir = join(_my_dir, "configs")
    output_dir = join(_my_dir, "output")

    for config_file in glob(join(config_dir, "test_config_parsing_*.cfg")):
        os.unlink(config_file)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: EducationalTestingService/skll
Commit Name: 2cf07cbc4b9ca699f53ba6e25dd4b828e01788a3
Time: 2019-10-22
Author: nmadnani@ets.org
File Name: tests/test_input.py
Class Name:
Method Name: tearDown


Project Name: pyinstaller/pyinstaller
Commit Name: 61b1c75c2b0469b32d114298a63bf60b8d597e37
Time: 2017-12-15
Author: david.hoese@ssec.wisc.edu
File Name: PyInstaller/hooks/hook-shapely.py
Class Name:
Method Name:


Project Name: batra-mlp-lab/visdial-challenge-starter-pytorch
Commit Name: 81a5691526015b88f252e22a42c123720ee30c97
Time: 2018-12-25
Author: karandesai281196@gmail.com
File Name: data/extract_bottomup.py
Class Name:
Method Name: main