fa64e76ae2ff80beffa124938d32180f795cbd60,integration_test/test_packages.py,,get_script_test_cases,#Any#Any#,225

Before Change


            if SKIP in test_case:
                reason = get_test_case_function_name(single_test_case)
                reason = reason + ": " + test_case[SKIP]
                single_test_case = pytest.mark.skip(
                    reason=reason)((single_test_case))
            test_cases.append(single_test_case)
    return test_cases

After Change


            if SKIP in test_case:
                reason = get_test_case_function_name(single_test_case)
                reason = reason + ": " + test_case[SKIP]
                single_test_case = pytest.param((script_path, command, test_case),
                                                marks=pytest.mark.skip(reason=reason))
            test_cases.append(single_test_case)
    return test_cases

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: recipy/recipy
Commit Name: fa64e76ae2ff80beffa124938d32180f795cbd60
Time: 2018-10-07
Author: robin@rtwilson.com
File Name: integration_test/test_packages.py
Class Name:
Method Name: get_script_test_cases


Project Name: matplotlib/matplotlib
Commit Name: 522148df7cc5010b4b593b014ea8879ce6c36a3a
Time: 2018-09-26
Author: dstansby@gmail.com
File Name: lib/matplotlib/tests/test_backends_interactive.py
Class Name:
Method Name: _get_testable_interactive_backends


Project Name: matplotlib/matplotlib
Commit Name: 6a9250388df6059fe3605958b70a2feb292ac118
Time: 2018-09-29
Author: jklymak@gmail.com
File Name: lib/matplotlib/tests/test_backends_interactive.py
Class Name:
Method Name: _get_testable_interactive_backends