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:
        for i in range(0, 4):
            filename_list2.append(os.path.join(path, baseline_dir,
                                               "%s%i.png" % (filename, i)))
    return filename_list2


@pytest.fixture

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]
    filename_list2 = []
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: ilastik/ilastik
Commit Name: 06103f990e84cf1a14cb0eb9cc11e114bb8052c2
Time: 2020-04-29
Author: tom.fogaca@gmail.com
File Name: ilastik/applets/dataSelection/opDataSelection.py
Class Name: DatasetInfo
Method Name: expand_path


Project Name: matplotlib/matplotlib
Commit Name: 66348a9259bc034d0f6b21cfb554f8b2f0af94b0
Time: 2018-03-23
Author: anntzer.lee@gmail.com
File Name: tools/triage_tests.py
Class Name:
Method Name: find_failing_tests