629167ee324a0b955ef46cd5a0cd7bb504ef8c44,hyperspy/tests/drawing/test_plot_signal1d.py,,_generate_filename_list,#Any#,45

Before Change



def _generate_filename_list(style):
    path = os.path.dirname(__file__)
    filename_list = ["test_plot_spectra_%s" % s for s in style] + \
                    ["test_plot_spectra_rev_%s" % s for s in style]
    filename_list2 = []
    for filename in filename_list:

After Change




def _generate_filename_list(style):
    path = Path(__file__).resolve().parent
    baseline_path = path.joinpath(baseline_dir)

    filename_list = [f"test_plot_spectra_{s}" for s in style] + \
                    [f"test_plot_spectra_rev_{s}" for s in style]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: hyperspy/hyperspy
Commit Name: 629167ee324a0b955ef46cd5a0cd7bb504ef8c44
Time: 2020-09-09
Author: tjof2@cam.ac.uk
File Name: hyperspy/tests/drawing/test_plot_signal1d.py
Class Name:
Method Name: _generate_filename_list


Project Name: pantsbuild/pants
Commit Name: 831b005905d3f3dd36269cccf9186d1ee1110858
Time: 2015-07-24
Author: john.sirois@gmail.com
File Name: src/python/pants/backend/python/interpreter_cache.py
Class Name: PythonInterpreterCache
Method Name: _resolve_and_link


Project Name: vatlab/SoS
Commit Name: 319008b98e88e685f5edc1a4cb46a06e6b0e9987
Time: 2019-12-10
Author: ben.bog@gmail.com
File Name: src/sos/executor_utils.py
Class Name:
Method Name: reevaluate_output