f1047f9a541b7e4e9e2fda268700cbbf01c66915,reframe/core/pipeline.py,RegressionTest,pipeline_hooks,#Any#,197

Before Change


        for c in cls.mro():
            if hasattr(c, "_rfm_pipeline_hooks"):
                for kind, hook in c._rfm_pipeline_hooks.items():
                    ret.setdefault(kind, [])
                    ret[kind] += hook

        return ret

After Change


    def pipeline_hooks(cls):
        ret = {}
        for phase, hooks in cls._rfm_pipeline_hooks.items():
            ret[phase] = []
            for h in hooks:
                ret[phase].append(h.fn)

        return ret
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: eth-cscs/reframe
Commit Name: f1047f9a541b7e4e9e2fda268700cbbf01c66915
Time: 2021-03-25
Author: karakasis@cscs.ch
File Name: reframe/core/pipeline.py
Class Name: RegressionTest
Method Name: pipeline_hooks


Project Name: arviz-devs/arviz
Commit Name: cc5259cbd55d5cc14e7e9581210b3f5ad9cc5005
Time: 2018-06-22
Author: ari.hartikainen@aalto.fi
File Name: arviz/utils/xarray_utils.py
Class Name:
Method Name: default_varnames_coords_dims


Project Name: arviz-devs/arviz
Commit Name: cc5259cbd55d5cc14e7e9581210b3f5ad9cc5005
Time: 2018-06-22
Author: ari.hartikainen@aalto.fi
File Name: arviz/utils/xarray_utils.py
Class Name:
Method Name: pystan_varnames_coords_dims